SketchyLISP Reference |
Copyright (C) 2006 Nils M Holm |
<<[id] | [Index] | [integer]>> |
Conformance: R5RS
Purpose: Conditional evaluation.
Arguments:
P - predicate
TF - consequent
FF - alternative
Model:
(define-syntax if (syntax-rules () ((_ p tf ff) (cond (p tf) (#t ff)))))
Implementation:
; This pseudo function is a special form handler.
Example:
(if #t 'true 'false) => true
<<[id] | [Index] | [integer]>> |