git.iko.soy/rowtype-yoga/purescript-native
on 38db2c6 help sign in
230 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(&) = "&"
71bar :: String
72bar = "|"
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"
156-- Prim values
158undefined :: String
159undefined = "undefined"
161-- Type Class Dictionary Names
163monadEffDictionary :: String
164monadEffDictionary = "monadEff"
166applicativeEffDictionary :: String
167applicativeEffDictionary = "applicativeEff"
169bindEffDictionary :: String
170bindEffDictionary = "bindEff"
172numNumber :: String
173numNumber = "numNumber"
175ordNumber :: String
176ordNumber = "ordNumber"
178eqNumber :: String
179eqNumber = "eqNumber"
181eqString :: String
182eqString = "eqString"
184eqBoolean :: String
185eqBoolean = "eqBoolean"
187bitsNumber :: String
188bitsNumber = "bitsNumber"
190boolLikeBoolean :: String
191boolLikeBoolean = "boolLikeBoolean"
193semigroupString :: String
194semigroupString = "semigroupString"
196semigroupoidArr :: String
197semigroupoidArr = "semigroupoidArr"
199-- Main module
201main :: String
202main = "main"
204-- Code Generation
206__superclass_ :: String
207__superclass_ = "__superclass_"
209__unused :: String
210__unused = "__unused"
212-- Modules
214prim :: String
215prim = "Prim"
217prelude :: String
218prelude = "Prelude"
220preludeUnsafe :: String
221preludeUnsafe = "Prelude_Unsafe"
223eff :: String
224eff = "Control_Monad_Eff"
226st :: String
227st = "Control_Monad_ST"
229dataFunction :: String
230dataFunction = "Data_Function"