diff options
Diffstat (limited to 'std/Generic')
-rw-r--r-- | std/Generic/Monad.bruijn | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/std/Generic/Monad.bruijn b/std/Generic/Monad.bruijn index 9e6c5d3..5373822 100644 --- a/std/Generic/Monad.bruijn +++ b/std/Generic/Monad.bruijn @@ -17,6 +17,10 @@ liftA3 [[[[(liftA2 3 2 1) <*> 0]]]] ⧗ (a → b → c → d) → (M a) → (M b …<*… liftA2 k ⧗ (M a) → (M b) → (M a) +…=<<… \bind + +…>>… [[1 >>= [1]]] ⧗ (M a) → (M b) → (M b) + # TODO: traverse, sequence # in parser: string = traverse char! |