Held: Monday, 15 September 2003
Summary: Today we continue our study of conditionals by working with them experimentally.
ifhas the form
(if test truepart falsepart)
Is this datum a value of this type?
rational?, and much much more.
(and exp1 exp2)
(or exp1 exp2)
ifstatements, you're much better off using the
condstatement, which has the form
(cond ( (test1 exp1) (test2 exp2) (test3 exp3) ... (testn expn) (else default)))
Evaluate each test in turn. When one holds true, use the value of the corresponding expression and stop. If none holds, use
Thursday, 28 August 2003 [Samuel A. Rebelsky]
I usually create these pages
on the fly, which means that I rarely
proofread them and they may contain bad grammar and incorrect details.
It also means that I tend to update them regularly (see the history for
more details). Feel free to contact me with any suggestions for changes.
This document was generated by
Siteweaver on Tue Dec 9 13:59:36 2003.
The source to the document was last modified on Mon Sep 1 13:30:51 2003.
This document may be found at