Conradi's line, Conrad Ramstedt, Conrad Riley < Prev | Next > cons, consanguineous, consanguinity

Bookmark with: icon icon icon icon iconword visualiser Go and visit our forums Community Forums

/konz/ or /kons/ [LISP, "construct"] A Lisp function which takes an element H and a list T and returns a new list whose head is H and whose tail is T.

In Lisp, "cons" is the most fundamental operation for building structures. It actually takes any two objects and returns a "dotted-pair" or two-branched tree with one object hanging from each branch. Because the result of a cons is an object, it can be used to build binary trees of any shape and complexity.

(01 Jul 2002)

Conradi's line, Conrad Ramstedt, Conrad Riley, CONS < Prev | Next > consanguineous, consanguinity, conscience

Bookmark with: icon icon icon icon iconword visualiser Go and visit our forums Community Forums