@@ -3,43 +3,220 @@
7### Type Classes
12### Type Classes
14+ class Alternative f where
15+ empty :: forall a. f a
16+ (<|>) :: forall a. f a -> f a -> f a
18+ class Applicative f where
19+ pure :: forall a. a -> f a
20+ (<*>) :: forall a b. f (a -> b) -> f a -> f b
26+ shl :: b -> Prim.Number -> b
27+ shr :: b -> Prim.Number -> b
28+ zshr :: b -> Prim.Number -> b
31+ class BoolLike b where
36+ class Category a where
37+ id :: forall t. a t t
38+ (<<<) :: forall b c d. a c d -> a b c -> a b d
41+ (==) :: a -> a -> Prim.Boolean
42+ (/=) :: a -> a -> Prim.Boolean
44+ class Functor f where
45+ (<$>) :: forall a b. (a -> b) -> f a -> f b
48+ return :: forall a. a -> m a
49+ (>>=) :: forall a b. m a -> (a -> m b) -> m b
60+ compare :: a -> a -> Ordering
63+ show :: a -> Prim.String
10### Type Class Instances
66### Type Class Instances
68+ instance applicativeFromMonad :: (Monad m) => Applicative m
70+ instance bitsNumber :: Bits Prim.Number
72+ instance boolLikeBoolean :: BoolLike Prim.Boolean
74+ instance categoryArr :: Category Prim.Function
76+ instance eqArray :: (Eq a) => Eq [a]
78+ instance eqBoolean :: Eq Prim.Boolean
80+ instance eqNumber :: Eq Prim.Number
82+ instance eqString :: Eq Prim.String
84+ instance functorFromApplicative :: (Applicative f) => Functor f
86+ instance numNumber :: Num Prim.Number
88+ instance ordNumber :: Ord Prim.Number
90+ instance showBoolean :: Show Prim.Boolean
92+ instance showNumber :: Show Prim.Number
94+ instance showOrdering :: Show Ordering
96+ instance showString :: Show Prim.String
101+ (!!) :: forall a. [a] -> Prim.Number -> a
103+ (#) :: forall a b. a -> (a -> b) -> b
105+ ($) :: forall a b. (a -> b) -> a -> b
107+ (++) :: Prim.String -> Prim.String -> Prim.String
109+ (<) :: forall a. (Ord a) => a -> a -> Prim.Boolean
111+ (<=) :: forall a. (Ord a) => a -> a -> Prim.Boolean
113+ (>) :: forall a. (Ord a) => a -> a -> Prim.Boolean
115+ (>=) :: forall a. (Ord a) => a -> a -> Prim.Boolean
117+ (>>>) :: forall a b c d. (Category a) => a b c -> a c d -> a b d
119+ boolAnd :: Prim.Boolean -> Prim.Boolean -> Prim.Boolean
121+ boolNot :: Prim.Boolean -> Prim.Boolean
123+ boolOr :: Prim.Boolean -> Prim.Boolean -> Prim.Boolean
125+ const :: forall a b. a -> b -> a
127+ flip :: forall a b c. (a -> b -> c) -> b -> a -> c
129+ numAdd :: Prim.Number -> Prim.Number -> Prim.Number
131+ numAnd :: Prim.Number -> Prim.Number -> Prim.Number
133+ numCompare :: Prim.Number -> Prim.Number -> Ordering
135+ numComplement :: Prim.Number -> Prim.Number
137+ numDiv :: Prim.Number -> Prim.Number -> Prim.Number
139+ numMod :: Prim.Number -> Prim.Number -> Prim.Number
141+ numMul :: Prim.Number -> Prim.Number -> Prim.Number
143+ numNegate :: Prim.Number -> Prim.Number
145+ numOr :: Prim.Number -> Prim.Number -> Prim.Number
147+ numShl :: Prim.Number -> Prim.Number -> Prim.Number
149+ numShr :: Prim.Number -> Prim.Number -> Prim.Number
151+ numSub :: Prim.Number -> Prim.Number -> Prim.Number
153+ numXor :: Prim.Number -> Prim.Number -> Prim.Number
155+ numZshr :: Prim.Number -> Prim.Number -> Prim.Number
157+ on :: forall a b c. (b -> b -> c) -> (a -> b) -> a -> a -> c
159+ refEq :: forall a. a -> a -> Prim.Boolean
161+ refIneq :: forall a. a -> a -> Prim.Boolean
163+ showNumberImpl :: Prim.Number -> Prim.String
16## Module Data.Eq
166## Module Data.Eq
21### Type Classes
174### Type Classes
24### Type Class Instances
177### Type Class Instances
179+ instance eqRef :: Eq (Ref a)
27### Values
182### Values
184+ liftRef :: forall a b. (a -> a -> b) -> Ref a -> Ref a -> b
30## Module Control.Monad.Eff
187## Module Control.Monad.Eff
191+ data Eff :: # ! -> * -> *
193+ type Pure a = forall e. Eff e a
35### Type Classes
196### Type Classes
38### Type Class Instances
199### Type Class Instances
201+ instance monadEff :: Monad (Eff e)
41### Values
204### Values
206+ bindEff :: forall e a b. Eff e a -> (a -> Eff e b) -> Eff e b
208+ forE :: forall e. Prim.Number -> Prim.Number -> (Prim.Number -> Eff e { }) -> Eff e { }
210+ foreachE :: forall e a. [a] -> (a -> Eff e { }) -> Eff e { }
212+ retEff :: forall e a. a -> Eff e a
214+ runPure :: forall a. Pure a -> a
216+ untilE :: forall e. Eff e Prim.Boolean -> Eff e { }
218+ whileE :: forall e a. Eff e Prim.Boolean -> Eff e a -> Eff e { }
44## Module Control.Monad.Eff.Unsafe
221## Module Control.Monad.Eff.Unsafe
@@ -54,11 +231,15 @@
55### Values
232### Values
234+ unsafeInterleaveEff :: forall eff1 eff2 a. Eff eff1 a -> Eff eff2 a
58## Module Debug.Trace
237## Module Debug.Trace
63### Type Classes
244### Type Classes
@@ -68,11 +249,21 @@
69### Values
250### Values
252+ print :: forall a r. (Show a) => a -> Eff (trace :: Trace | r) { }
254+ trace :: forall r. Prim.String -> Eff (trace :: Trace | r) { }
72## Module Control.Monad.ST
257## Module Control.Monad.ST
263+ data STArray :: * -> * -> *
265+ data STRef :: * -> * -> *
77### Type Classes
268### Type Classes
@@ -82,5 +273,23 @@
83### Values
274### Values
276+ modifySTRef :: forall a h r. STRef h a -> (a -> a) -> Eff (st :: ST h | r) a
278+ newSTArray :: forall a h r. Prim.Number -> a -> Eff (st :: ST h | r) (STArray h a)
280+ newSTRef :: forall a h r. a -> Eff (st :: ST h | r) (STRef h a)
282+ peekSTArray :: forall a h r. STArray h a -> Eff (st :: ST h | r) a
284+ pokeSTArray :: forall a h r. STArray h a -> Prim.Number -> a -> Eff (st :: ST h | r) a
286+ readSTRef :: forall a h r. STRef h a -> Eff (st :: ST h | r) a
288+ runST :: forall a r. (forall h. Eff (st :: ST h | r) a) -> Eff r a
290+ runSTArray :: forall a r. (forall h. Eff (st :: ST h | r) (STArray h a)) -> Eff r [a]
292+ writeSTRef :: forall a h r. STRef h a -> a -> Eff (st :: ST h | r) a