dotted pairs and cons in Scheme and CL both allow you specify an improper tail. This has some historical utility if you are using cons as a way to build up non-list data structures. Scheme and CL both provide better facilities for data structures than using cons.
As far as I know lists are just conses with proper tails. David On Sat, Jun 16, 2012 at 12:03 PM, octopusgrabbus <[email protected]>wrote: > Thanks for answering. I am taking from your answer that I can be > Lisp/Clojure-esque in Scheme and not worry about dotted pairs. That is, I > can make a grid out of lists, rather than using cons to construct them. > That's what I'm trying to do. > > > On Saturday, June 16, 2012 11:35:14 AM UTC-4, octopusgrabbus wrote: >> >> I have a need to learn enough scheme to read it and write a few >> functions. I came across dotted pair notation. I am trying to grok it in >> terms of the only Lisp I know, Clojure. Does dotted pair notation in Scheme >> compare to form in Clojure, and if so, how? >> >> >> -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [email protected] > Note that posts from new members are moderated - please be patient with > your first post. > 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 > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. 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
