Skip to content

Commit e96262a

Browse files
committed
Update docs
1 parent 1b71630 commit e96262a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
# Data.Maybe
1+
# Module Documentation
2+
3+
## Module Data.Maybe
24

35
### Types
46

57
data Maybe a where
68
Nothing :: Maybe a
79
Just :: a -> Maybe a
810

11+
912
### Type Class Instances
1013

1114
instance alternativeMaybe :: Alternative Maybe
@@ -26,6 +29,7 @@
2629

2730
instance showMaybe :: (Show a) => Show (Maybe a)
2831

32+
2933
### Values
3034

3135
fromMaybe :: forall a. a -> Maybe a -> a
@@ -34,4 +38,4 @@
3438

3539
isNothing :: forall a. Maybe a -> Prim.Boolean
3640

37-
maybe :: forall a b. b -> (a -> b) -> Maybe a -> b
41+
maybe :: forall a b. b -> (a -> b) -> Maybe a -> b

0 commit comments

Comments
 (0)