► |  | How to Design Programs Languages

1 | Beginning Student
2 | Beginning Student with List Abbreviations
3 | Intermediate Student
4 | Intermediate Student with Lambda
5 | Advanced Student
| Index

▼ | 3 | Intermediate Student

3.1 | define
3.2 | define-struct
3.3 | local
3.4 | letrec, let, and let*
3.5 | Function Calls
3.6 | time
3.7 | Identifiers
3.8 | Primitive Operations
3.9 | Unchanged Forms

On this page:

cond
else
if
and
or
check-expect
check-within
check-error
empty
true
false
require

Version: 4.1.4
top← prev up next →

#### 3.9`` Unchanged Forms

(cond [expr expr] ... [expr expr])

else

The same as Beginning’s cond.

(if expr expr expr)

The same as Beginning’s if.

(and expr expr expr ...)

(or expr expr expr ...)

The same as Beginning’s and and or.

(check-expect expr expr)

(check-within expr expr expr)

(check-error expr expr)

The same as Beginning’s check-expect, etc.

empty : empty?

true : boolean?

false : boolean?

Constants for the empty list, true, and false.

(require string)

The same as Beginning’s require.

top← prev up next →