dotted pair

<programming>

The usual LISP syntax for representing a cons cell that is not a list. For example, the expression

 (cons 'foo 42)

returns a cons cell that is output as

 (foo . 42)

which represents a cons cell whose car is the symbol "foo" and whose cdr is the integer 42.

Last updated: 2014-11-09

Nearby terms:

dot notationdot pitchdotted pairdotted quaddouble bucky

Try this search on Wikipedia, Wiktionary, Google, OneLook.



Loading