1-----------------------------------------------------------------------------
3-- Module : PureScript.Values
4-- Copyright : (c) Phil Freeman 2013
7-- Maintainer : Phil Freeman <paf31@cantab.net>
8-- Stability : experimental
13-----------------------------------------------------------------------------
15{-# LANGUAGE DeriveDataTypeable #-}
17module PureScript.Values (
26import PureScript.Types
33 | BitwiseNot deriving (Show, Eq, Data, Typeable)
46 | GreaterThanOrEqualTo
55 | Concat deriving (Show, Eq, Data, Typeable)
58 = NumericLiteral (Either Integer Double)
59 | StringLiteral String
61 | Unary UnaryOperator Value
62 | Binary BinaryOperator Value Value
63 | ArrayLiteral [Value]
65 | ObjectLiteral [(String, Value)]
66 | Accessor String Value
72 | Case Value [(Binder, Value)]
73 | TypedValue Value Type deriving (Show, Data, Typeable)
76 = VariableIntroduction String Value
77 | Assignment AssignmentTarget Value
78 | While Value [Statement]
79 | For (Statement, Value, Statement) [Statement]
80 | IfThenElse (Value) [Statement] (Maybe [Statement])
81 | Return Value deriving (Show, Data, Typeable)
86 | NumberBinder (Either Integer Double)
88 | NullaryBinder String
89 | UnaryBinder String Binder
90 | ObjectBinder [(String, Binder)]
91 | ArrayBinder [Binder] (Maybe Binder) deriving (Show, Data, Typeable)
94 = AssignVariable String
95 | AssignObjectProperty String AssignmentTarget
96 | AssignArrayIndex Value AssignmentTarget deriving (Show, Data, Typeable)
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list