projects
/
lambda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec7e61a
)
(no commit message)
author
barker
<barker@web>
Mon, 13 Sep 2010 13:26:27 +0000
(09:26 -0400)
committer
Lambda Wiki
<lambda@SERVER.PHILOSOPHY.FAS.NYU.EDU>
Mon, 13 Sep 2010 13:26:27 +0000
(09:26 -0400)
assignment1.mdwn
patch
|
blob
|
history
diff --git
a/assignment1.mdwn
b/assignment1.mdwn
index
6fd29ee
..
fad7c8c
100644
(file)
--- a/
assignment1.mdwn
+++ b/
assignment1.mdwn
@@
-24,7
+24,7
@@
In Racket, these can be defined like this:
(define true (lambda (t) (lambda (f) t)))
(define false (lambda (t) (lambda (f) f)))
-
+test
8. Define a "neg" operator that negates "true" and "false".
Expected behavior: (((neg true) 10) 20) evaluates to 20,
(((neg false) 10) 20) evaluates to 10.