cons

English

Noun

cons

  1. plural of con

Etymology 2

Clipping of construct.

Pronunciation

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

Noun

cons (plural conses)

  1. (programming) A data structure in Lisp that is a pair of pointers, car and cdr, used mainly for lists.
    Synonym: cons cell
    Meronyms: car, cdr

Verb

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

  1. (programming) 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.
    • 1992, Peter Norvig, Paradigms of Artificial Intelligence Programming: Case Studies in Common Lisp, Morgan Kaufmann, →ISBN, page 62:
      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.”

Verb

cons

  1. third-person singular simple present indicative of con

Anagrams

Catalan

Pronunciation

Noun

cons

  1. plural of con

French

Pronunciation

  • (file)

Noun

cons m

  1. plural of con
This article is issued from Wiktionary. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.