projects
/
lambda.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more4 assignment1 tweaks
[lambda.git]
/
assignment1.mdwn
diff --git
a/assignment1.mdwn
b/assignment1.mdwn
index
05787ca
..
453fa54
100644
(file)
--- a/
assignment1.mdwn
+++ b/
assignment1.mdwn
@@
-17,8
+17,8
@@
Booleans
Recall our definitions of true and false.
Recall our definitions of true and false.
->
`true`
defined to be `\t \f. t`
->
`false`
defined to be `\t \f. f`
+>
**true**
defined to be `\t \f. t`
+>
**false**
defined to be `\t \f. f`
In Racket, these can be defined like this:
In Racket, these can be defined like this:
@@
-75,7
+75,7
@@
Pairs
Recall our definitions of ordered pairs.
Recall our definitions of ordered pairs.
-> the pair
(x,y)
is defined as `\f. f x y`
+> the pair
**(**x**,**y**)**
is defined as `\f. f x y`
To extract the first element of a pair p, you write:
To extract the first element of a pair p, you write: