1-----------------------------------------------------------------------------
3-- Module : PureScript.Values
4-- Copyright : (c) Phil Freeman 2013
7-- Maintainer : Phil Freeman <paf31@cantab.net>
8-- Stability : experimental
13-----------------------------------------------------------------------------
15module PureScript.Values (
24import PureScript.Types
29 | BitwiseNot deriving (Show, Eq)
42 | GreaterThanOrEqualTo
51 | Concat deriving (Show, Eq)
54 = NumericLiteral (Either Integer Double)
55 | StringLiteral String
57 | Unary UnaryOperator Value
58 | Binary BinaryOperator Value Value
59 | ArrayLiteral [Value]
61 | ObjectLiteral [(String, Value)]
62 | Accessor String Value
68 | Case Value [(Binder, Value)]
69 | TypedValue Value Type deriving Show
72 = VariableIntroduction String Value
73 | Assignment AssignmentTarget Value
74 | While Value [Statement]
75 | For (Statement, Value, Statement) [Statement]
76 | IfThenElse (Value) [Statement] (Maybe [Statement])
77 | Return Value deriving Show
82 | NumberBinder (Either Integer Double)
84 | NullaryBinder String
85 | UnaryBinder String Binder
86 | ObjectBinder [(String, Binder)]
87 | ArrayBinder [Binder] (Maybe Binder) deriving Show
90 = AssignVariable String
91 | AssignObjectProperty String AssignmentTarget
92 | AssignArrayIndex Value AssignmentTarget deriving Show
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