git.iko.soy/rowtype-yoga/purescript-native
on 8758966 help sign in
292 lines 4.0 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-- 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(/=) = "/="
68(&&) :: String
69(&&) = "&&"
71(||) :: String
72(||) = "||"
74bind :: String
75bind = "bind"
77unsafeIndex :: String
78unsafeIndex = "unsafeIndex"
80(.|.) :: String
81(.|.) = ".|."
83(.&.) :: String
84(.&.) = ".&."
86(.^.) :: String
87(.^.) = ".^."
89(<<<) :: String
90(<<<) = "<<<"
92compose :: String
93compose = "compose"
95-- Functions
97negate :: String
98negate = "negate"
100not :: String
101not = "not"
103conj :: String
104conj = "conj"
106disj :: String
107disj = "disj"
109mod :: String
110mod = "mod"
112shl :: String
113shl = "shl"
115shr :: String
116shr = "shr"
118zshr :: String
119zshr = "zshr"
121complement :: String
122complement = "complement"
124-- Prelude Values
126zero :: String
127zero = "zero"
129one :: String
130one = "one"
132bottom :: String
133bottom = "bottom"
135top :: String
136top = "top"
138return :: String
139return = "return"
141pure' :: String
142pure' = "pure"
144returnEscaped :: String
145returnEscaped = "$return"
147untilE :: String
148untilE = "untilE"
150whileE :: String
151whileE = "whileE"
153runST :: String
154runST = "runST"
156stRefValue :: String
157stRefValue = "value"
159newSTRef :: String
160newSTRef = "newSTRef"
162readSTRef :: String
163readSTRef = "readSTRef"
165writeSTRef :: String
166writeSTRef = "writeSTRef"
168modifySTRef :: String
169modifySTRef = "modifySTRef"
171mkFn :: String
172mkFn = "mkFn"
174runFn :: String
175runFn = "runFn"
177unit :: String
178unit = "unit"
180-- Prim values
182undefined :: String
183undefined = "undefined"
185-- Type Class Dictionary Names
187monadEffDictionary :: String
188monadEffDictionary = "monadEff"
190applicativeEffDictionary :: String
191applicativeEffDictionary = "applicativeEff"
193bindEffDictionary :: String
194bindEffDictionary = "bindEff"
196semiringNumber :: String
197semiringNumber = "semiringNumber"
199semiringInt :: String
200semiringInt = "semiringInt"
202ringNumber :: String
203ringNumber = "ringNumber"
205ringInt :: String
206ringInt = "ringInt"
208moduloSemiringNumber :: String
209moduloSemiringNumber = "moduloSemiringNumber"
211moduloSemiringInt :: String
212moduloSemiringInt = "moduloSemiringInt"
214ordNumber :: String
215ordNumber = "ordNumber"
217ordInt :: String
218ordInt = "ordInt"
220eqNumber :: String
221eqNumber = "eqNumber"
223eqInt :: String
224eqInt = "eqInt"
226eqString :: String
227eqString = "eqString"
229eqBoolean :: String
230eqBoolean = "eqBoolean"
232boundedBoolean :: String
233boundedBoolean = "boundedBoolean"
235booleanAlgebraBoolean :: String
236booleanAlgebraBoolean = "booleanAlgebraBoolean"
238semigroupString :: String
239semigroupString = "semigroupString"
241semigroupoidFn :: String
242semigroupoidFn = "semigroupoidFn"
244-- Generic Deriving
246generic :: String
247generic = "Generic"
249toSpine :: String
250toSpine = "toSpine"
252fromSpine :: String
253fromSpine = "fromSpine"
255toSignature :: String
256toSignature = "toSignature"
258-- Main module
260main :: String
261main = "main"
263-- Code Generation
265__superclass_ :: String
266__superclass_ = "__superclass_"
268__unused :: String
269__unused = "__unused"
271-- Modules
273prim :: String
274prim = "Prim"
276prelude :: String
277prelude = "Prelude"
279dataArrayUnsafe :: String
280dataArrayUnsafe = "Data_Array_Unsafe"
282eff :: String
283eff = "Control_Monad_Eff"
285st :: String
286st = "Control_Monad_ST"
288dataFunction :: String
289dataFunction = "Data_Function"
291dataIntBits :: String
292dataIntBits = "Data_Int_Bits"