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; null?
8
9; ---conformance---
10; R5RS
11
12; ---purpose---
13; Check whether a datum is an empty list.
14
15; ---args---
16; X - datum
17
18; ---keywords---
19; NULL? function, list, empty, empty list
20
21; ---see-also---
22; list?
23
24; ---example---
25; (null? '()) => #t
26
27(define nullp #t)
28
29; ---model---
30; (define (null? x)
31;   (eq? x '()))
32
33; ---code---
34; This function is a primitive function.
35