Name

cond

Usage

macro

Syntax

(cond clause*)

Description

clause := '( test-expr form* ')'

user 1 > (let a 137)
it: 137
user 2 > (cond
             ((< a 100)
                  (print-line 'smaller-than-100))
             ((< a 200)
                  (print-line 'smaller-than-200))
             (true
                  (print-line 'large)))
smaller-than-200
it: null