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
20import PureScript.Names
27 | BitwiseNot deriving (Show, Eq, Data, Typeable)
40 | GreaterThanOrEqualTo
49 | Concat deriving (Show, Eq, Data, Typeable)
52 = NumericLiteral (Either Integer Double)
53 | StringLiteral String
55 | Unary UnaryOperator Value
56 | Binary BinaryOperator Value Value
57 | ArrayLiteral [Value]
59 | ObjectLiteral [(String, Value)]
60 | Accessor String Value
66 | Case Value [(Binder, Value)]
67 | TypedValue Value PolyType deriving (Show, Data, Typeable)
70 = VariableIntroduction Ident Value
71 | Assignment AssignmentTarget Value
72 | While Value [Statement]
73 | For (Statement, Value, Statement) [Statement]
74 | IfThenElse (Value) [Statement] (Maybe [Statement])
75 | Return Value deriving (Show, Data, Typeable)
80 | NumberBinder (Either Integer Double)
82 | NullaryBinder String
83 | UnaryBinder String Binder
84 | ObjectBinder [(String, Binder)]
85 | ArrayBinder [Binder] (Maybe Binder) deriving (Show, Data, Typeable)
88 = AssignVariable Ident
89 | AssignObjectProperty String AssignmentTarget
90 | 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