correct of signature

This commit is contained in:
Rowan 2025-03-31 16:20:36 -05:00
parent a8efdd68ae
commit 5461295b0b

View file

@ -50,7 +50,7 @@ const twelve = curriedAdd(4, 4, 4) // 12
Represents a value which may not exist.
#### Methods
##### of :: Option m => m a ~> (a -> m b) -> m b
##### of :: Option f => a -> f a
> Option.of\<a\>(value: a) -> Option\<a\>
##### zero :: Option f => () -> f a
@ -73,7 +73,7 @@ Represents a value which may not exist.
Represents a value which may fail.
#### Methods
##### of :: Result m => m a ~> (a -> m b) -> m b
##### of :: Result f => a -> f a
> Result.of\<a\>(value: a) -> Result\<a, ()\>
##### zero :: Result f => () -> f a