Name

cond

Usage

macro

Syntax

(cond clause*)

Description

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

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