cons

名词 n. 动词 v.

英文释义

名词 n.
  1. plural of con form-of,plural
  2. A data structure in Lisp that is a pair of pointers, car and cdr, used mainly for lists.
动词 v.
  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.”
  2. third-person singular simple present indicative of con form-of,indicative,present,singular,third-person

词形变化

conses plural conses present,singular,third-person consing participle,present consed participle,past consed past

词源

Clipping of construct.
0 次浏览 数据来源: Wiktionary