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 where
19import PureScript.Types
26 | BitwiseNot deriving (Show, Eq, Data, Typeable)
39 | GreaterThanOrEqualTo
48 | Concat deriving (Show, Eq, Data, Typeable)
51 = NumericLiteral (Either Integer Double)
52 | StringLiteral String
54 | Unary UnaryOperator Value
55 | Binary BinaryOperator Value Value
56 | ArrayLiteral [Value]
58 | ObjectLiteral [(String, Value)]
59 | Accessor String Value
65 | Case Value [(Binder, Value)]
66 | TypedValue Value PolyType deriving (Show, Data, Typeable)
69 = VariableIntroduction String Value
70 | Assignment AssignmentTarget Value
71 | While Value [Statement]
72 | For (Statement, Value, Statement) [Statement]
73 | IfThenElse (Value) [Statement] (Maybe [Statement])
74 | Return Value deriving (Show, Data, Typeable)
79 | NumberBinder (Either Integer Double)
81 | NullaryBinder String
82 | UnaryBinder String Binder
83 | ObjectBinder [(String, Binder)]
84 | ArrayBinder [Binder] (Maybe Binder) deriving (Show, Data, Typeable)
87 = AssignVariable String
88 | AssignObjectProperty String AssignmentTarget
89 | 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