jan tolenaar / kiezellisp / index-of-everything

Name

cond

Usage

macro

Syntax

(cond clause*)

Description

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

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