cons
n. · v.-
1 disadvantages (n.) B1 Intermediatethe negative points or disadvantages of an idea or plan.
the arguments or factors against a particular proposition or course of action.
ExampleWe need to weigh the pros and cons before we decide to move house.
ExampleThe committee spent hours debating the pros and cons of the proposed merger, focusing specifically on long-term financial stability.
-
2 programming data structure (n.) C2 Proficiency Technical Computinga basic building block in some computer languages used to hold two pieces of data together.
a fundamental data structure in Lisp and related functional languages, consisting of a pair of pointers (traditionally car and cdr).
ExampleIn Lisp, a list is actually a series of cons cells linked together.
ExampleThe function returns a new cons whose first element is the input value and whose second element is the existing list.
-
3 to add to a list (v.) C2 Proficiency Technical Computingto add a new item to the beginning of a list in computer programming.
to prepend an element to a list by creating a new cons cell; the standard method of list construction in functional programming.
ExampleYou can cons the new ID onto the front of the user list.
ExampleThe algorithm efficiently conses each discovered node onto the accumulator to build the result set in linear time.
UsageThe verb is transitive and typically takes the element being added as the object.
- prepend
- attach
Last updated June 20, 2026