git.iko.soy/rowtype-yoga/purescript-native
on 61aea87 help sign in
201 lines 2.8 kB history raw
1-----------------------------------------------------------------------------
2--
3-- Module : Language.PureScript.Constants
4-- Copyright : (c) Phil Freeman 2013
5-- License : MIT
6--
7-- Maintainer : Phil Freeman <paf31@cantab.net>
8-- Stability : experimental
9-- Portability :
10--
11-- |
12-- Various constants which refer to things in the Prelude
13--
14-----------------------------------------------------------------------------
16module Language.PureScript.Constants where
18-- Prelude Operators
20($) :: String
21($) = "$"
23(#) :: String
24(#) = "#"
26(++) :: String
27(++) = "++"
29(>>=) :: String
30(>>=) = ">>="
32(+) :: String
33(+) = "+"
35(-) :: String
36(-) = "-"
38(*) :: String
39(*) = "*"
41(/) :: String
42(/) = "/"
44(%) :: String
45(%) = "%"
47(<) :: String
48(<) = "<"
50(>) :: String
51(>) = ">"
53(<=) :: String
54(<=) = "<="
56(>=) :: String
57(>=) = ">="
59(==) :: String
60(==) = "=="
62(/=) :: String
63(/=) = "/="
65(&) :: String
66(&) = "&"
68bar :: String
69bar = "|"
71(^) :: String
72(^) = "^"
74(&&) :: String
75(&&) = "&&"
77(||) :: String
78(||) = "||"
80unsafeIndex :: String
81unsafeIndex = "unsafeIndex"
83-- Prelude Operator Functions
85negate :: String
86negate = "negate"
88shl :: String
89shl = "shl"
91shr :: String
92shr = "shr"
94zshr :: String
95zshr = "zshr"
97complement :: String
98complement = "complement"
100not :: String
101not = "not"
103-- Prelude Values
105return :: String
106return = "return"
108returnEscaped :: String
109returnEscaped = "$return"
111untilE :: String
112untilE = "untilE"
114whileE :: String
115whileE = "whileE"
117runST :: String
118runST = "runST"
120runSTArray :: String
121runSTArray = "runSTArray"
123stRefValue :: String
124stRefValue = "value"
126newSTRef :: String
127newSTRef = "newSTRef"
129readSTRef :: String
130readSTRef = "readSTRef"
132writeSTRef :: String
133writeSTRef = "writeSTRef"
135modifySTRef :: String
136modifySTRef = "modifySTRef"
138peekSTArray :: String
139peekSTArray = "peekSTArray"
141pokeSTArray :: String
142pokeSTArray = "pokeSTArray"
144-- Type Class Dictionary Names
146monadEffDictionary :: String
147monadEffDictionary = "monadEff"
149bindEffDictionary :: String
150bindEffDictionary = "bindEff"
152numNumber :: String
153numNumber = "numNumber"
155ordNumber :: String
156ordNumber = "ordNumber"
158eqNumber :: String
159eqNumber = "eqNumber"
161eqString :: String
162eqString = "eqString"
164eqBoolean :: String
165eqBoolean = "eqBoolean"
167bitsNumber :: String
168bitsNumber = "bitsNumber"
170boolLikeBoolean :: String
171boolLikeBoolean = "boolLikeBoolean"
173semigroupString :: String
174semigroupString = "semigroupString"
176-- Main module
178main :: String
179main = "main"
181-- Code Generation
183__superclasses :: String
184__superclasses = "__superclasses"
186-- Modules
188prim :: String
189prim = "Prim"
191prelude :: String
192prelude = "Prelude"
194preludeUnsafe :: String
195preludeUnsafe = "Prelude_Unsafe"
197eff :: String
198eff = "Control_Monad_Eff"
200st :: String
201st = "Control_Monad_ST"