Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.

Commit 6b6dd71

Browse files
committed
Update docs after docgen fix
1 parent 493e6e1 commit 6b6dd71

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,14 @@
55
### Types
66

77
data Edge k where
8+
Edge :: k -> k -> Edge k
89

910
data Graph k v where
11+
Graph :: [v] -> [Edge k] -> Graph k v
1012

1113
data SCC v where
14+
AcyclicSCC :: v -> SCC v
15+
CyclicSCC :: [v] -> SCC v
1216

1317

1418
### Type Class Instances
@@ -35,7 +39,7 @@
3539

3640
### Types
3741

38-
data Map k v where
42+
data Map k v
3943

4044

4145
### Type Class Instances
@@ -63,7 +67,7 @@
6367

6468
map :: forall k v1 v2. (P.Ord k) => (v1 -> v2) -> Map k v1 -> Map k v2
6569

66-
member :: forall k v. (P.Ord k) => k -> Map k v -> Prim.Boolean
70+
member :: forall k v. (P.Ord k) => k -> Map k v -> Boolean
6771

6872
singleton :: forall k v. k -> v -> Map k v
6973

@@ -82,7 +86,7 @@
8286

8387
### Types
8488

85-
data Set a where
89+
data Set a
8690

8791

8892
### Type Class Instances
@@ -102,7 +106,7 @@
102106

103107
insert :: forall a. (P.Eq a, P.Ord a) => a -> Set a -> Set a
104108

105-
member :: forall a. (P.Eq a, P.Ord a) => a -> Set a -> Prim.Boolean
109+
member :: forall a. (P.Eq a, P.Ord a) => a -> Set a -> Boolean
106110

107111
singleton :: forall a. a -> Set a
108112

0 commit comments

Comments
 (0)