cons

Definition from Wiktionary, the free dictionary
Jump to: navigation, search

English[edit]

Etymology 1[edit]

Noun[edit]

cons

  1. plural form of con

Etymology 2[edit]

Abbreviation of construct.

Pronunciation[edit]

  • IPA(key): /ˈkɑnz/, /ˈkɑns/

Noun[edit]

Diagram for the list (42 69 613). The car of the first cons is 42, and the cdr points the next cons. The list has three conses.

cons (plural conses)

  1. (computing) A data structure in LISP that is a pair of pointers, car and cdr, used mainly for lists.
Synonyms[edit]
Related terms[edit]

Verb[edit]

cons (third-person singular simple present conses, present participle consing, simple past and past participle consed)

  1. (computing) 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.
    In addition to specifying the whole list at once using square brackets and commas, you can build them up piece by piece using the (:) operator. This process is often referred to as consing.WB

Etymology 3[edit]

Verb[edit]

cons

  1. third-person singular simple present indicative form of con

French[edit]

Noun[edit]

cons

  1. plural form of con