forked from gcanti/fp-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtype-classes.dot
40 lines (40 loc) · 1.59 KB
/
type-classes.dot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
digraph G {
rankdir=BT;
node [fontname="arial"];
node [style=filled,color=black,fillcolor="#B3ABF4"];
"Strong" -> "Profunctor"
"Choice" -> "Profunctor"
node [style=filled,color=black,fillcolor="#FC81BF"];
"Monoid" -> "Semigroup"
node [style=filled,color=black,fillcolor="#FDF4AA"];
"Field" -> "Ring" -> "Semiring"
node [style=filled,color=black,fillcolor="#FC81BF"];
"Ord" "Setoid"
node [style=filled,color=black,fillcolor="#FECFE6"];
"Bounded" -> "Ord" -> "Setoid"
node [style=filled,color=black,fillcolor="#FDF4AA"];
"Category" -> "Semigroupoid"
node [style=filled,color=black,fillcolor="#659DFE"];
"Functor" "Applicative" "Monad" "Alternative" "Traversable" "Foldable" "Compactable"
node [style=filled,color=black,fillcolor="#BFD7FF"];
"Profunctor" -> "Functor"
"Alt" -> "Functor"
"Alternative" -> "Applicative"
"Alternative" -> "Plus" -> "Alt"
"Monad" -> "Applicative" -> "Apply" -> "Functor"
"Monad" -> "Chain" -> "Apply"
"ChainRec" -> "Chain"
"Comonad" -> "Extend" -> "Functor"
"Traversable" -> "Foldable"
"Traversable" -> "Functor"
"Filterable" -> "Functor"
"Filterable" -> "Compactable"
"Witherable" -> "Traversable"
"Witherable" -> "Filterable"
node [style=filled,color=black,fillcolor="#FDF4AA"];
"BooleanAlgebra" -> "HeytingAlgebra" -> "BoundedDistributiveLattice" -> "BoundedLattice" -> "BoundedJoinSemilattice"
"BoundedDistributiveLattice" -> "DistributiveLattice" -> "Lattice" -> "JoinSemilattice"
"Lattice" -> "MeetSemilattice"
"BoundedJoinSemilattice" -> "JoinSemilattice"
"BoundedLattice" -> "BoundedMeetSemilattice" -> "MeetSemilattice"
}