What are cons?

Cons

In computer programming, cons ( /ˈkɒnz/ or /ˈkɒns/) is a fundamental function in most dialects of the Lisp programming language. cons constructs memory objects which hold two values or pointers to values. These objects are referred to as (cons) cells, conses, non-atomic s-expressions ("NATSes"), or (cons) pairs. In Lisp jargon, the expression "to cons x onto y" means to construct a new object with (cons x y). The resulting pair has a left half, referred to as the car (the first element), and a right half (the second element), referred to as the cdr.

Read more about Cons.

Some articles on cons:

Cons-la-Grandville
... Cons-la-Grandville is a commune in the Meurthe-et-Moselle department in north-eastern France ... The Château de Cons-la-Grandville is situated in the middle of the village ...
Cons - Not Technically Fundamental
... functions, all data structures, including cons cells, are not fundamentally necessary to the language, since all data structures can be implemented using ... For example, in Scheme (define (cons x y) (lambda (m) (m x y))) (define (car z) (z (lambda (p q) p))) (define (cdr z) (z (lambda (p q) q))) The above ... implementation, while academically interesting, is impractical because it renders cons cells indistinguishable from any other Scheme procedure, as well ...
List Of Foreign K-League Players - Europe – UEFA - England
... Hyundai Motors) Jamie Cureton (2003 Busan I’Cons) Andy Cooke (2003–2004 Busan I’Cons) Chris Marsden (2004 Busan I’Cons) Richard Offiong (2005 Chunnam Dragons) Derek Asamoah (2011–2012 ...
List Of Late Night With Jimmy Fallon Sketches - Weekly Sketches - Pros and Cons
... Every Tuesday on the show, Jimmy weighs the pros and cons of a topic that's currently in the news, with the pros being the setups and the cons being the punchlines ... Con That being said, it's still golf.) Special editions of the skit include "The reissue of the Rolling Stones' album Exile on Main St.", in which Jimmy was ...
CGOL - Syntax
... operation (referring to MACLISP's cons function) and the infix @ operation (referring to MACLISP's append function) a.(b@c) = (a.b)@c The preceding example corresponds to this text in native MACLISP (EQUAL (CONS A (APPE ...