previous | index | next

Scheme's list? Predicate and member Procedure

list? tests whether its argument is a list:
     (list? 'a) ⇒ #f

     (list? '(a b)) ⇒ #t

     (list? (cons 'a (cons 'b '()))) ⇒ #t

     (list? (cons 'a 'b)) ⇒ #f [not a true list]

previous | index | next