cons

plural of con

Noun form of, plural

  1. plural of con

Noun computing, engineering

  1. A data structure in Lisp that is a pair of pointers, car and cdr, used mainly for lists.

    Synonyms: cons cell

    Meronyms: car cdr

Origin

Clipping of construct.

Forms

conses

Verb computing, engineering

  1. To obtain a list from a cons or a nesting of conses; to prepend an element to a list by forming a cons of that element and the list; to obtain a list from a smaller one by repeated application of such kind of prepending.
    • This version of length arises naturally from the recursive definition of a list: “a list is either the empty list or an element consed onto another list.” - 1992, Peter Norvig, Paradigms of Artificial Intelligence...

Forms

conses consing consed

Verb form of, indicative

  1. third-person singular simple present indicative of con