projects
/
lambda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
57588ef
)
extra line
author
jim
<jim@web>
Sun, 22 Mar 2015 16:21:55 +0000
(12:21 -0400)
committer
Linux User
<ikiwiki@localhost.members.linode.com>
Sun, 22 Mar 2015 16:21:55 +0000
(12:21 -0400)
topics/week7_introducing_monads.mdwn
patch
|
blob
|
history
diff --git
a/topics/week7_introducing_monads.mdwn
b/topics/week7_introducing_monads.mdwn
index
39dcdaf
..
4750fc6
100644
(file)
--- a/
topics/week7_introducing_monads.mdwn
+++ b/
topics/week7_introducing_monads.mdwn
@@
-392,6
+392,7
@@
This example is a good intuitive basis for thinking about the notions of `mbind`
Some a >>=<sub>α option</sub> (\a -> Some 0) ==> Some 0
None >>=<sub>α option</sub> (\a -> Some 0) ==> None
Some a >>=<sub>α option</sub> (\a -> Some 0) ==> Some 0
None >>=<sub>α option</sub> (\a -> Some 0) ==> None
+ Some a >>=<sub>α option</sub> (\a -> None ) ==> None
.
/ \
.
/ \