Skip to content
This repository was archived by the owner on May 24, 2018. It is now read-only.

Commit db9cecf

Browse files
committed
Add generated docs
1 parent af891c7 commit db9cecf

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

docs/Module.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Module Documentation
2+
3+
## Module Control.Arrow
4+
5+
### Type Classes
6+
7+
class (Category a) <= Arrow a where
8+
arr :: forall b c. (b -> c) -> a b c
9+
first :: forall b c d. a b c -> a (Tuple b d) (Tuple c d)
10+
11+
class ArrowPlus a where
12+
(<+>) :: forall b c. a b c -> a b c -> a b c
13+
14+
class ArrowZero a where
15+
azero :: forall b c. a b c
16+
17+
18+
### Type Class Instances
19+
20+
instance arrowFunction :: Arrow Prim.Function
21+
22+
23+
### Values
24+
25+
(&&&) :: forall a b b' c c'. (Arrow a) => a b c -> a b c' -> a b (Tuple c c')
26+
27+
(***) :: forall a b b' c c'. (Arrow a) => a b c -> a b' c' -> a (Tuple b b') (Tuple c c')
28+
29+
second :: forall a b c d. (Arrow a) => a b c -> a (Tuple d b) (Tuple d c)
30+
31+
32+
## Module Control.Arrow.Kleisli
33+
34+
### Types
35+
36+
data Kleisli m a b where
37+
Kleisli :: a -> m b -> Kleisli m a b
38+
39+
40+
### Type Class Instances
41+
42+
instance arrowKleisli :: (Monad m) => Arrow (Kleisli m)
43+
44+
instance categoryKleisli :: (Monad m) => Category (Kleisli m)
45+
46+
instance semigroupoidKleisli :: (Monad m) => Semigroupoid (Kleisli m)
47+
48+
49+
### Values
50+
51+
runKleisli :: forall m a b. Kleisli m a b -> a -> m b

0 commit comments

Comments
 (0)