Arc Forumnew | comments | leaders | submitlogin
Why does (list) return () ? Shouldn't it be nil?
1 point by goodbyejim 5938 days ago | 2 comments
arc> (list) ()

Shouldn't the answer be nil? I thought nil replaced ()



5 points by kennytilton 5938 days ago | link

No, they are two notations for the same thing.

-----

3 points by will 5937 days ago | link

() is nil:

arc> (is () nil) t

-----