Next: , Previous: , Up: scheme overview   [Index]


3.1.7 Forms

While definitions are not expressions, compound expressions and definitions exhibit similar syntactic structure:

(define x 23)
(* x 2)

While the first line contains a definition, and the second an expression, this distinction depends on the bindings for let and *. At the purely syntactical level, both are forms, and form is the general name for a syntactic part of a Scheme program. In particular, ‘23’ is a subform of the form (define x 23).