1; SketchyLISP Library
2; Copyright (C) 2005,2006,2007 Nils M Holm. All rights reserved.
3; See the file LICENSE of the SketchyLISP distribution
4; for conditions of use.
5
6; ---name---
7; not
8
9; ---conformance---
10; R5RS
11
12; ---purpose---
13; Logical negation.
14
15; ---args---
16; A - truth value
17
18; ---keywords---
19; NOT function, NOT, logical negation, logical NOT
20
21; ---see-also---
22; neq?
23
24; ---example---
25; (not #f) => #t
26
27(define not #t)
28
29; ---code---
30(define (not a)
31  (eq? a #f))
32