correct of signature
This commit is contained in:
parent
a8efdd68ae
commit
5461295b0b
1 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@ const twelve = curriedAdd(4, 4, 4) // 12
|
||||||
Represents a value which may not exist.
|
Represents a value which may not exist.
|
||||||
|
|
||||||
#### Methods
|
#### Methods
|
||||||
##### of :: Option m => m a ~> (a -> m b) -> m b
|
##### of :: Option f => a -> f a
|
||||||
> Option.of\<a\>(value: a) -> Option\<a\>
|
> Option.of\<a\>(value: a) -> Option\<a\>
|
||||||
|
|
||||||
##### zero :: Option f => () -> f a
|
##### zero :: Option f => () -> f a
|
||||||
|
@ -73,7 +73,7 @@ Represents a value which may not exist.
|
||||||
Represents a value which may fail.
|
Represents a value which may fail.
|
||||||
|
|
||||||
#### Methods
|
#### Methods
|
||||||
##### of :: Result m => m a ~> (a -> m b) -> m b
|
##### of :: Result f => a -> f a
|
||||||
> Result.of\<a\>(value: a) -> Result\<a, ()\>
|
> Result.of\<a\>(value: a) -> Result\<a, ()\>
|
||||||
|
|
||||||
##### zero :: Result f => () -> f a
|
##### zero :: Result f => () -> f a
|
||||||
|
|
Loading…
Add table
Reference in a new issue