git.iko.soy/rowtype-yoga/purescript-native
on 0e7c936 help sign in
393 lines 5.6 kB history raw
1{-# LANGUAGE DataKinds #-}
2{-# LANGUAGE PatternSynonyms #-}
4-- | Various constants which refer to things in the Prelude
5module Language.PureScript.Constants where
7import Language.PureScript.Names
9-- Operators
11($) :: String
12($) = "$"
14apply :: String
15apply = "apply"
17(#) :: String
18(#) = "#"
20applyFlipped :: String
21applyFlipped = "applyFlipped"
23(<>) :: String
24(<>) = "<>"
26(++) :: String
27(++) = "++"
29append :: String
30append = "append"
32(>>=) :: String
33(>>=) = ">>="
35bind :: String
36bind = "bind"
38(+) :: String
39(+) = "+"
41add :: String
42add = "add"
44(-) :: String
45(-) = "-"
47sub :: String
48sub = "sub"
50(*) :: String
51(*) = "*"
53mul :: String
54mul = "mul"
56(/) :: String
57(/) = "/"
59div :: String
60div = "div"
62(%) :: String
63(%) = "%"
65mod :: String
66mod = "mod"
68(<) :: String
69(<) = "<"
71lessThan :: String
72lessThan = "lessThan"
74(>) :: String
75(>) = ">"
77greaterThan :: String
78greaterThan = "greaterThan"
80(<=) :: String
81(<=) = "<="
83lessThanOrEq :: String
84lessThanOrEq = "lessThanOrEq"
86(>=) :: String
87(>=) = ">="
89greaterThanOrEq :: String
90greaterThanOrEq = "greaterThanOrEq"
92(==) :: String
93(==) = "=="
95eq :: String
96eq = "eq"
98(/=) :: String
99(/=) = "/="
101notEq :: String
102notEq = "notEq"
104compare :: String
105compare = "compare"
107(&&) :: String
108(&&) = "&&"
110conj :: String
111conj = "conj"
113(||) :: String
114(||) = "||"
116disj :: String
117disj = "disj"
119unsafeIndex :: String
120unsafeIndex = "unsafeIndex"
122(.|.) :: String
123(.|.) = ".|."
125(.&.) :: String
126(.&.) = ".&."
128(.^.) :: String
129(.^.) = ".^."
131(<<<) :: String
132(<<<) = "<<<"
134compose :: String
135compose = "compose"
137(>>>) :: String
138(>>>) = ">>>"
140composeFlipped :: String
141composeFlipped = "composeFlipped"
143-- Functions
145negate :: String
146negate = "negate"
148not :: String
149not = "not"
151shl :: String
152shl = "shl"
154shr :: String
155shr = "shr"
157zshr :: String
158zshr = "zshr"
160complement :: String
161complement = "complement"
163-- Prelude Values
165zero :: String
166zero = "zero"
168one :: String
169one = "one"
171bottom :: String
172bottom = "bottom"
174top :: String
175top = "top"
177return :: String
178return = "return"
180pure' :: String
181pure' = "pure"
183returnEscaped :: String
184returnEscaped = "$return"
186untilE :: String
187untilE = "untilE"
189whileE :: String
190whileE = "whileE"
192runST :: String
193runST = "runST"
195stRefValue :: String
196stRefValue = "value"
198newSTRef :: String
199newSTRef = "newSTRef"
201readSTRef :: String
202readSTRef = "readSTRef"
204writeSTRef :: String
205writeSTRef = "writeSTRef"
207modifySTRef :: String
208modifySTRef = "modifySTRef"
210mkFn :: String
211mkFn = "mkFn"
213runFn :: String
214runFn = "runFn"
216unit :: String
217unit = "unit"
219-- Prim values
221undefined :: String
222undefined = "undefined"
224-- Type Class Dictionary Names
226monadEffDictionary :: String
227monadEffDictionary = "monadEff"
229applicativeEffDictionary :: String
230applicativeEffDictionary = "applicativeEff"
232bindEffDictionary :: String
233bindEffDictionary = "bindEff"
235semiringNumber :: String
236semiringNumber = "semiringNumber"
238semiringInt :: String
239semiringInt = "semiringInt"
241ringNumber :: String
242ringNumber = "ringNumber"
244ringInt :: String
245ringInt = "ringInt"
247moduloSemiringNumber :: String
248moduloSemiringNumber = "moduloSemiringNumber"
250moduloSemiringInt :: String
251moduloSemiringInt = "moduloSemiringInt"
253euclideanRingNumber :: String
254euclideanRingNumber = "euclideanRingNumber"
256euclideanRingInt :: String
257euclideanRingInt = "euclideanRingInt"
259ordBoolean :: String
260ordBoolean = "ordBoolean"
262ordNumber :: String
263ordNumber = "ordNumber"
265ordInt :: String
266ordInt = "ordInt"
268ordString :: String
269ordString = "ordString"
271ordChar :: String
272ordChar = "ordChar"
274eqNumber :: String
275eqNumber = "eqNumber"
277eqInt :: String
278eqInt = "eqInt"
280eqString :: String
281eqString = "eqString"
283eqChar :: String
284eqChar = "eqChar"
286eqBoolean :: String
287eqBoolean = "eqBoolean"
289boundedBoolean :: String
290boundedBoolean = "boundedBoolean"
292booleanAlgebraBoolean :: String
293booleanAlgebraBoolean = "booleanAlgebraBoolean"
295heytingAlgebraBoolean :: String
296heytingAlgebraBoolean = "heytingAlgebraBoolean"
298semigroupString :: String
299semigroupString = "semigroupString"
301semigroupoidFn :: String
302semigroupoidFn = "semigroupoidFn"
304-- Generic Deriving
306generic :: String
307generic = "Generic"
309toSpine :: String
310toSpine = "toSpine"
312fromSpine :: String
313fromSpine = "fromSpine"
315toSignature :: String
316toSignature = "toSignature"
318-- Main module
320main :: String
321main = "main"
323-- Prim
325partial :: String
326partial = "Partial"
328pattern Partial :: Qualified (ProperName 'ClassName)
329pattern Partial = Qualified (Just (ModuleName [ProperName "Prim"])) (ProperName "Partial")
331-- Code Generation
333__superclass_ :: String
334__superclass_ = "__superclass_"
336__unused :: String
337__unused = "__unused"
339-- Modules
341prim :: String
342prim = "Prim"
344prelude :: String
345prelude = "Prelude"
347dataArrayUnsafe :: String
348dataArrayUnsafe = "Data_Array_Unsafe"
350eff :: String
351eff = "Control_Monad_Eff"
353st :: String
354st = "Control_Monad_ST"
356controlApplicative :: String
357controlApplicative = "Control_Applicative"
359controlSemigroupoid :: String
360controlSemigroupoid = "Control_Semigroupoid"
362controlBind :: String
363controlBind = "Control_Bind"
365dataBounded :: String
366dataBounded = "Data_Bounded"
368dataSemigroup :: String
369dataSemigroup = "Data_Semigroup"
371dataHeytingAlgebra :: String
372dataHeytingAlgebra = "Data_HeytingAlgebra"
374dataEq :: String
375dataEq = "Data_Eq"
377dataOrd :: String
378dataOrd = "Data_Ord"
380dataSemiring :: String
381dataSemiring = "Data_Semiring"
383dataRing :: String
384dataRing = "Data_Ring"
386dataEuclideanRing :: String
387dataEuclideanRing = "Data_EuclideanRing"
389dataFunction :: String
390dataFunction = "Data_Function"
392dataIntBits :: String
393dataIntBits = "Data_Int_Bits"