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:
475e3a5
)
reader: tweaking markup
author
Jim Pryor
<profjim@jimpryor.net>
Mon, 1 Nov 2010 11:59:12 +0000
(07:59 -0400)
committer
Jim Pryor
<profjim@jimpryor.net>
Mon, 1 Nov 2010 11:59:12 +0000
(07:59 -0400)
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
reader_monad.mdwn
patch
|
blob
|
history
diff --git
a/reader_monad.mdwn
b/reader_monad.mdwn
index
353a897
..
b0f6486
100644
(file)
--- a/
reader_monad.mdwn
+++ b/
reader_monad.mdwn
@@
-244,7
+244,7
@@
That is, it takes as arguments a clause-type reader-monad `u`, and an entity-typ
You can trace through what happens then if we apply \[[who(i)]] to (\[[spurned]] applied to \[[Alice]] and \[[i]]):
- \[[Alice spurned i]] = \[[spurned]]
[[Alice]]
[[i]]
+ \[[Alice spurned i]] = \[[spurned]]
\[[Alice]] \
[[i]]
= (lift2 S) (unit Alice) (lookup i)
= bind (unit Alice) (fun x -> bind (lookup i) (fun y -> unit (S x y)))