@@ -0,0 +1,88 @@
1+Prelude
2+=======
3+
4+The Prelude is a collection of standard modules which define types for standard Javascript functions, as well as some common functions that will be familiar to users of Haskell or similar functional languages.
5+
6+Prelude Module
7+--------------
8+
9+=========== ============================================================ ===========================================
10+Name Type Description
11+=========== ============================================================ ===========================================
12+``id`` ``forall a. a -> a`` Identity function
13+``flip`` ``forall a b c. (a -> b -> c) -> b -> a -> c`` Flips the order of a function's arguments
14+``konst`` ``forall a b. a -> b -> a`` Defines a constant function
15+``(<|)`` ``forall a b c. (a -> b) -> (b -> c) -> a -> c`` Function composition
16+``(|>)`` ``forall a b c. (b -> c) -> (a -> b) -> a -> c`` Function composition
17+``($)`` ``forall a b. (a -> b) -> a -> b`` Function application
18+=========== ============================================================ ===========================================
19+
20+======= ===========================================
21+Name Description
22+======= ===========================================
23+Show Type class for types whose values can be
24+ converted to strings
25+Monad Type class for type constructors which
26+ support ``do`` notation
27+======= ===========================================
28+
29+String Module
30+-------------
31+
32+`TODO`
33+
34+Regex Module
35+------------
36+
37+`TODO`
38+
39+Maybe Module
40+------------
41+
42+`TODO`
43+
44+Either Module
45+-------------
46+
47+`TODO`
48+
49+Arrays Module
50+-------------
51+
52+`TODO`
53+
54+Tuple Module
55+------------
56+
57+`TODO`
58+
59+Eff Module
60+----------
61+
62+`TODO`
63+
64+Errors Module
65+-------------
66+
67+`TODO`
68+
69+IORef Module
70+------------
71+
72+`TODO`
73+
74+Random Module
75+-------------
76+
77+`TODO`
78+
79+ST Module
80+---------
81+
82+`TODO`
83+
84+Trace Module
85+------------
86+
87+`TODO`
88+