git.iko.soy/rowtype-yoga/purescript-native
on 756407e help sign in
210 lines 2.9 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"
144mkFn :: String
145mkFn = "mkFn"
147runFn :: String
148runFn = "runFn"
150-- Type Class Dictionary Names
152monadEffDictionary :: String
153monadEffDictionary = "monadEff"
155bindEffDictionary :: String
156bindEffDictionary = "bindEff"
158numNumber :: String
159numNumber = "numNumber"
161ordNumber :: String
162ordNumber = "ordNumber"
164eqNumber :: String
165eqNumber = "eqNumber"
167eqString :: String
168eqString = "eqString"
170eqBoolean :: String
171eqBoolean = "eqBoolean"
173bitsNumber :: String
174bitsNumber = "bitsNumber"
176boolLikeBoolean :: String
177boolLikeBoolean = "boolLikeBoolean"
179semigroupString :: String
180semigroupString = "semigroupString"
182-- Main module
184main :: String
185main = "main"
187-- Code Generation
189__superclass_ :: String
190__superclass_ = "__superclass_"
192-- Modules
194prim :: String
195prim = "Prim"
197prelude :: String
198prelude = "Prelude"
200preludeUnsafe :: String
201preludeUnsafe = "Prelude_Unsafe"
203eff :: String
204eff = "Control_Monad_Eff"
206st :: String
207st = "Control_Monad_ST"
209dataFunction :: String
210dataFunction = "Data_Function"