On Thu, Feb 26, 2009 at 4:03 PM, jim <jim.d...@gmail.com> wrote:

>
> I don't have a Scheme here to check it out, but doesn't
>
> (cons 1)
>
> yield
>
> '(1)


no. in scheme (and in all modern lisps), cons is a 2 arguments procedure.
Giving it 1 is an error.

Some very old lisp dialects supplied NIL in place of missing arguments. In
these lisps
(cons 1) was equivalent to (cons 1 nil)

Cheers
P.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to