git.iko.soy/rowtype-yoga/purescript-native
on f259d87 help sign in
228 lines 3.2 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(&) = "&"
77bar :: String
78bar = "|"
80(^) :: String
81(^) = "^"
83(&&) :: String
84(&&) = "&&"
86(||) :: String
87(||) = "||"
89unsafeIndex :: String
90unsafeIndex = "unsafeIndex"
92-- Prelude Operator Functions
94negate :: String
95negate = "negate"
97shl :: String
98shl = "shl"
100shr :: String
101shr = "shr"
103zshr :: String
104zshr = "zshr"
106complement :: String
107complement = "complement"
109not :: String
110not = "not"
112-- Prelude Values
114return :: String
115return = "return"
117pure' :: String
118pure' = "pure"
120returnEscaped :: String
121returnEscaped = "$return"
123untilE :: String
124untilE = "untilE"
126whileE :: String
127whileE = "whileE"
129runST :: String
130runST = "runST"
132runSTArray :: String
133runSTArray = "runSTArray"
135stRefValue :: String
136stRefValue = "value"
138newSTRef :: String
139newSTRef = "newSTRef"
141readSTRef :: String
142readSTRef = "readSTRef"
144writeSTRef :: String
145writeSTRef = "writeSTRef"
147modifySTRef :: String
148modifySTRef = "modifySTRef"
150peekSTArray :: String
151peekSTArray = "peekSTArray"
153pokeSTArray :: String
154pokeSTArray = "pokeSTArray"
156mkFn :: String
157mkFn = "mkFn"
159runFn :: String
160runFn = "runFn"
162-- Type Class Dictionary Names
164monadEffDictionary :: String
165monadEffDictionary = "monadEff"
167applicativeEffDictionary :: String
168applicativeEffDictionary = "applicativeEff"
170bindEffDictionary :: String
171bindEffDictionary = "bindEff"
173numNumber :: String
174numNumber = "numNumber"
176ordNumber :: String
177ordNumber = "ordNumber"
179eqNumber :: String
180eqNumber = "eqNumber"
182eqString :: String
183eqString = "eqString"
185eqBoolean :: String
186eqBoolean = "eqBoolean"
188bitsNumber :: String
189bitsNumber = "bitsNumber"
191boolLikeBoolean :: String
192boolLikeBoolean = "boolLikeBoolean"
194semigroupString :: String
195semigroupString = "semigroupString"
197semigroupoidArr :: String
198semigroupoidArr = "semigroupoidArr"
200-- Main module
202main :: String
203main = "main"
205-- Code Generation
207__superclass_ :: String
208__superclass_ = "__superclass_"
210-- Modules
212prim :: String
213prim = "Prim"
215prelude :: String
216prelude = "Prelude"
218preludeUnsafe :: String
219preludeUnsafe = "Prelude_Unsafe"
221eff :: String
222eff = "Control_Monad_Eff"
224st :: String
225st = "Control_Monad_ST"
227dataFunction :: String
228dataFunction = "Data_Function"