git.iko.soy/rowtype-yoga/purescript-native
on d2dfad0 help sign in
392 lines 5.6 kB history raw
1-- | Various constants which refer to things in the Prelude
2module Language.PureScript.Constants where
4import Prelude.Compat
6import Language.PureScript.Names
8-- Operators
10($) :: String
11($) = "$"
13apply :: String
14apply = "apply"
16(#) :: String
17(#) = "#"
19applyFlipped :: String
20applyFlipped = "applyFlipped"
22(<>) :: String
23(<>) = "<>"
25(++) :: String
26(++) = "++"
28append :: String
29append = "append"
31(>>=) :: String
32(>>=) = ">>="
34bind :: String
35bind = "bind"
37(+) :: String
38(+) = "+"
40add :: String
41add = "add"
43(-) :: String
44(-) = "-"
46sub :: String
47sub = "sub"
49(*) :: String
50(*) = "*"
52mul :: String
53mul = "mul"
55(/) :: String
56(/) = "/"
58div :: String
59div = "div"
61(%) :: String
62(%) = "%"
64mod :: String
65mod = "mod"
67(<) :: String
68(<) = "<"
70lessThan :: String
71lessThan = "lessThan"
73(>) :: String
74(>) = ">"
76greaterThan :: String
77greaterThan = "greaterThan"
79(<=) :: String
80(<=) = "<="
82lessThanOrEq :: String
83lessThanOrEq = "lessThanOrEq"
85(>=) :: String
86(>=) = ">="
88greaterThanOrEq :: String
89greaterThanOrEq = "greaterThanOrEq"
91(==) :: String
92(==) = "=="
94eq :: String
95eq = "eq"
97(/=) :: String
98(/=) = "/="
100notEq :: String
101notEq = "notEq"
103compare :: String
104compare = "compare"
106(&&) :: String
107(&&) = "&&"
109conj :: String
110conj = "conj"
112(||) :: String
113(||) = "||"
115disj :: String
116disj = "disj"
118unsafeIndex :: String
119unsafeIndex = "unsafeIndex"
121(.|.) :: String
122(.|.) = ".|."
124(.&.) :: String
125(.&.) = ".&."
127(.^.) :: String
128(.^.) = ".^."
130(<<<) :: String
131(<<<) = "<<<"
133compose :: String
134compose = "compose"
136(>>>) :: String
137(>>>) = ">>>"
139composeFlipped :: String
140composeFlipped = "composeFlipped"
142-- Functions
144negate :: String
145negate = "negate"
147not :: String
148not = "not"
150shl :: String
151shl = "shl"
153shr :: String
154shr = "shr"
156zshr :: String
157zshr = "zshr"
159complement :: String
160complement = "complement"
162-- Prelude Values
164zero :: String
165zero = "zero"
167one :: String
168one = "one"
170bottom :: String
171bottom = "bottom"
173top :: String
174top = "top"
176return :: String
177return = "return"
179pure' :: String
180pure' = "pure"
182returnEscaped :: String
183returnEscaped = "$return"
185untilE :: String
186untilE = "untilE"
188whileE :: String
189whileE = "whileE"
191runST :: String
192runST = "runST"
194stRefValue :: String
195stRefValue = "value"
197newSTRef :: String
198newSTRef = "newSTRef"
200readSTRef :: String
201readSTRef = "readSTRef"
203writeSTRef :: String
204writeSTRef = "writeSTRef"
206modifySTRef :: String
207modifySTRef = "modifySTRef"
209mkFn :: String
210mkFn = "mkFn"
212runFn :: String
213runFn = "runFn"
215unit :: String
216unit = "unit"
218-- Prim values
220undefined :: String
221undefined = "undefined"
223-- Type Class Dictionary Names
225monadEffDictionary :: String
226monadEffDictionary = "monadEff"
228applicativeEffDictionary :: String
229applicativeEffDictionary = "applicativeEff"
231bindEffDictionary :: String
232bindEffDictionary = "bindEff"
234semiringNumber :: String
235semiringNumber = "semiringNumber"
237semiringInt :: String
238semiringInt = "semiringInt"
240ringNumber :: String
241ringNumber = "ringNumber"
243ringInt :: String
244ringInt = "ringInt"
246moduloSemiringNumber :: String
247moduloSemiringNumber = "moduloSemiringNumber"
249moduloSemiringInt :: String
250moduloSemiringInt = "moduloSemiringInt"
252euclideanRingNumber :: String
253euclideanRingNumber = "euclideanRingNumber"
255euclideanRingInt :: String
256euclideanRingInt = "euclideanRingInt"
258ordBoolean :: String
259ordBoolean = "ordBoolean"
261ordNumber :: String
262ordNumber = "ordNumber"
264ordInt :: String
265ordInt = "ordInt"
267ordString :: String
268ordString = "ordString"
270ordChar :: String
271ordChar = "ordChar"
273eqNumber :: String
274eqNumber = "eqNumber"
276eqInt :: String
277eqInt = "eqInt"
279eqString :: String
280eqString = "eqString"
282eqChar :: String
283eqChar = "eqChar"
285eqBoolean :: String
286eqBoolean = "eqBoolean"
288boundedBoolean :: String
289boundedBoolean = "boundedBoolean"
291booleanAlgebraBoolean :: String
292booleanAlgebraBoolean = "booleanAlgebraBoolean"
294heytingAlgebraBoolean :: String
295heytingAlgebraBoolean = "heytingAlgebraBoolean"
297semigroupString :: String
298semigroupString = "semigroupString"
300semigroupoidFn :: String
301semigroupoidFn = "semigroupoidFn"
303-- Generic Deriving
305generic :: String
306generic = "Generic"
308toSpine :: String
309toSpine = "toSpine"
311fromSpine :: String
312fromSpine = "fromSpine"
314toSignature :: String
315toSignature = "toSignature"
317-- Main module
319main :: String
320main = "main"
322-- Prim
324partial :: String
325partial = "Partial"
327pattern Partial :: Qualified (ProperName 'ClassName)
328pattern Partial = Qualified (Just (ModuleName [ProperName "Prim"])) (ProperName "Partial")
330-- Code Generation
332__superclass_ :: String
333__superclass_ = "__superclass_"
335__unused :: String
336__unused = "__unused"
338-- Modules
340prim :: String
341prim = "Prim"
343prelude :: String
344prelude = "Prelude"
346dataArrayUnsafe :: String
347dataArrayUnsafe = "Data_Array_Unsafe"
349eff :: String
350eff = "Control_Monad_Eff"
352st :: String
353st = "Control_Monad_ST"
355controlApplicative :: String
356controlApplicative = "Control_Applicative"
358controlSemigroupoid :: String
359controlSemigroupoid = "Control_Semigroupoid"
361controlBind :: String
362controlBind = "Control_Bind"
364dataBounded :: String
365dataBounded = "Data_Bounded"
367dataSemigroup :: String
368dataSemigroup = "Data_Semigroup"
370dataHeytingAlgebra :: String
371dataHeytingAlgebra = "Data_HeytingAlgebra"
373dataEq :: String
374dataEq = "Data_Eq"
376dataOrd :: String
377dataOrd = "Data_Ord"
379dataSemiring :: String
380dataSemiring = "Data_Semiring"
382dataRing :: String
383dataRing = "Data_Ring"
385dataEuclideanRing :: String
386dataEuclideanRing = "Data_EuclideanRing"
388dataFunction :: String
389dataFunction = "Data_Function"
391dataIntBits :: String
392dataIntBits = "Data_Int_Bits"