projects
/
lambda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8be622c
)
add sentence about Identity Monad
author
jim
<jim@web>
Thu, 19 Mar 2015 16:05:11 +0000
(12:05 -0400)
committer
Linux User
<ikiwiki@localhost.members.linode.com>
Thu, 19 Mar 2015 16:05:11 +0000
(12:05 -0400)
topics/week7_introducing_monads.mdwn
patch
|
blob
|
history
diff --git
a/topics/week7_introducing_monads.mdwn
b/topics/week7_introducing_monads.mdwn
index
7acc77c
..
244793f
100644
(file)
--- a/
topics/week7_introducing_monads.mdwn
+++ b/
topics/week7_introducing_monads.mdwn
@@
-152,8
+152,8
@@
The name "bind" is not well chosen from our perspective, but this is too deeply
To take a trivial (but, as we will see, still useful) example,
consider the Identity box type: `α`. So if `α` is type `bool`,
To take a trivial (but, as we will see, still useful) example,
consider the Identity box type: `α`. So if `α` is type `bool`,
-then a boxed `α` is ... a `bool`.
In terms of the box analogy, the
-Identity box type is a completely invisible box. With the following
+then a boxed `α` is ... a `bool`.
That is, <code><u>α</u> = α</code>.
+I
n terms of the box analogy, the I
dentity box type is a completely invisible box. With the following
definitions:
mid ≡ \p. p
definitions:
mid ≡ \p. p