From: Jim Date: Sun, 8 Feb 2015 00:37:20 +0000 (-0500) Subject: refine hidden assignment2 X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=commitdiff_plain;h=1ed0b3655fe532e1da6dc6bf8c6b9edf4f61f641;ds=sidebyside refine hidden assignment2 --- diff --git a/topics/_assignment2.mdwn b/topics/_assignment2.mdwn index 7a9ea03c..0c793fc6 100644 --- a/topics/_assignment2.mdwn +++ b/topics/_assignment2.mdwn @@ -27,7 +27,7 @@ In Racket, these functions can be defined like this: (Note that they are different from Racket's *primitive* boolean values `#t` and `#f`.) -(I know the numbering of the homework problems will restart instead of continuing as before. It's too much of a pain to fix it right now. We'll put in a better rendering engine later that will make this work right without laborious work-arounds on our part.) +(I know the numbering of the homework problems will restart instead of continuing with 8, 9, ... It's too much of a pain to fix it right now. We'll put in a better rendering engine later that will make this work right without laborious work-arounds on our part.) 8. Define a `neg` operator that negates `true` and `false`. @@ -45,10 +45,10 @@ In Racket, these functions can be defined like this: 10. Define an `xor` operator. If you haven't seen this term before, here's a truth table: - true xor true == false - true xor false == true - false xor true == true - false xor false == false + true xor true == false + true xor false == true + false xor true == true + false xor false == false