projects
/
lambda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e51d4e8
)
tweak
author
jim
<jim@web>
Sat, 14 Feb 2015 22:50:07 +0000
(17:50 -0500)
committer
Linux User
<ikiwiki@localhost.members.linode.com>
Sat, 14 Feb 2015 22:50:07 +0000
(17:50 -0500)
topics/week3_combinatory_logic.mdwn
patch
|
blob
|
history
diff --git
a/topics/week3_combinatory_logic.mdwn
b/topics/week3_combinatory_logic.mdwn
index
a86f711
..
4c92bfc
100644
(file)
--- a/
topics/week3_combinatory_logic.mdwn
+++ b/
topics/week3_combinatory_logic.mdwn
@@
-24,9
+24,9
@@
complicated operation, but is extremely versatile and useful
(see below): it copies its third argument and distributes it
over the first two arguments.
(see below): it copies its third argument and distributes it
over the first two arguments.
-> **
get-first** was our function for extracting the first element of an ordered pair: `\fst snd. fst
`. Compare this to `K` and `true` as well.
+> **
fst** was our function for extracting the first element of an ordered pair: `\a b. a
`. Compare this to `K` and `true` as well.
-> **
get-second** was our function for extracting the second element of an ordered pair: `\fst snd. snd
`. Compare this to our definition of `false`.
+> **
snd** was our function for extracting the second element of an ordered pair: `\a b. b
`. Compare this to our definition of `false`.
> **B** is defined to be: `\f g x. f (g x)`. (So `B f g` is the composition `\x. f (g x)` of `f` and `g`.)
> **B** is defined to be: `\f g x. f (g x)`. (So `B f g` is the composition `\x. f (g x)` of `f` and `g`.)