diff --git a/list-of.lisp b/list-of.lisp index 6140cafc52209a599e04a864068ad54aa1e4b135..dff5f2af52b9ef3b604d96e4a01304568ad70b2f 100644 --- a/list-of.lisp +++ b/list-of.lisp @@ -27,8 +27,8 @@ (deftype list-of (type) (case type - ((t) 'list) - ((nil) 'null) + ((t) 'list) ;; a (list-of t) is the same as a regular list. + ((nil) 'null) ;; a (list-of nil) can have no elements, it's null. (otherwise (let ((predicate (list-of-predicate-for type))) (eval-at-toplevel ;; now, and amongst final-forms if enabled