On Thu, Feb 26, 2009 at 4:03 PM, jim <[email protected]> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to