What is Scheme's dotted pair construct analogous to in other Lisp implementations? I can make a vector or list quite easily, and understand those in Clojure, even though the syntax is a little different, like Clojure's vectors use square brackets [].
However, seeing a dotted pair for the first time threw me. It almost looks like it is an implementation of of map.
I'm not looking for a discussion, but more for use or the dotted pair equivalent in other Lisp dialects, like Clojure, or even Python.
Best Answer
Common Lisp (implementation: SBCL)
I'm pretty sure that's standard Common Lisp.
Here's some Clojure:
I'm really not a Clojure expert (or a Common Lisp expert), but I'm not sure Clojure has anything that supports an improper list (like
'(a b . c)
) built in.