Skip to content

2 cons

M
Mathilde hamel

50 Views • Nov 20, 2008

Wikipedia Context

In computer programming, cons is a fundamental function in most dialects of the Lisp programming language. cons constructs memory objects which hold two values or pointers to two 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, and a right half, referred to as the cdr.

Full Article

Description

Keywords & Tags