git.iko.soy/rowtype-yoga/purescript-native
on e97d799 help sign in
233 lines 3.3 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(/=) = "/="
68(.&.) :: String
69(.&.) = ".&."
71(.|.) :: String
72(.|.) = ".|."
74(.^.) :: String
75(.^.) = ".^."
77(&&) :: String
78(&&) = "&&"
80(||) :: String
81(||) = "||"
83unsafeIndex :: String
84unsafeIndex = "unsafeIndex"
86-- Prelude Operator Functions
88negate :: String
89negate = "negate"
91shl :: String
92shl = "shl"
94shr :: String
95shr = "shr"
97zshr :: String
98zshr = "zshr"
100complement :: String
101complement = "complement"
103not :: String
104not = "not"
106-- Prelude Values
108return :: String
109return = "return"
111pure' :: String
112pure' = "pure"
114returnEscaped :: String
115returnEscaped = "$return"
117untilE :: String
118untilE = "untilE"
120whileE :: String
121whileE = "whileE"
123runST :: String
124runST = "runST"
126runSTArray :: String
127runSTArray = "runSTArray"
129stRefValue :: String
130stRefValue = "value"
132newSTRef :: String
133newSTRef = "newSTRef"
135readSTRef :: String
136readSTRef = "readSTRef"
138writeSTRef :: String
139writeSTRef = "writeSTRef"
141modifySTRef :: String
142modifySTRef = "modifySTRef"
144peekSTArray :: String
145peekSTArray = "peekSTArray"
147pokeSTArray :: String
148pokeSTArray = "pokeSTArray"
150mkFn :: String
151mkFn = "mkFn"
153runFn :: String
154runFn = "runFn"
156unit :: String
157unit = "unit"
159-- Prim values
161undefined :: String
162undefined = "undefined"
164-- Type Class Dictionary Names
166monadEffDictionary :: String
167monadEffDictionary = "monadEff"
169applicativeEffDictionary :: String
170applicativeEffDictionary = "applicativeEff"
172bindEffDictionary :: String
173bindEffDictionary = "bindEff"
175numNumber :: String
176numNumber = "numNumber"
178ordNumber :: String
179ordNumber = "ordNumber"
181eqNumber :: String
182eqNumber = "eqNumber"
184eqString :: String
185eqString = "eqString"
187eqBoolean :: String
188eqBoolean = "eqBoolean"
190bitsNumber :: String
191bitsNumber = "bitsNumber"
193boolLikeBoolean :: String
194boolLikeBoolean = "boolLikeBoolean"
196semigroupString :: String
197semigroupString = "semigroupString"
199semigroupoidArr :: String
200semigroupoidArr = "semigroupoidArr"
202-- Main module
204main :: String
205main = "main"
207-- Code Generation
209__superclass_ :: String
210__superclass_ = "__superclass_"
212__unused :: String
213__unused = "__unused"
215-- Modules
217prim :: String
218prim = "Prim"
220prelude :: String
221prelude = "Prelude"
223preludeUnsafe :: String
224preludeUnsafe = "Prelude_Unsafe"
226eff :: String
227eff = "Control_Monad_Eff"
229st :: String
230st = "Control_Monad_ST"
232dataFunction :: String
233dataFunction = "Data_Function"