Cons
id:
cons-285-5561838
title:
Cons
text:
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. It
brand slug:
wiki
category slug:
encyclopedia
description:
Function and primitive data structure in Lisp and other functional programming languages
original url:
https://en.wikipedia.org/wiki/Cons
date created:
date modified:
2024-04-15T17:00:12Z
main entity:
{"identifier":"Q3687178","url":"https://www.wikidata.org/entity/Q3687178"}
image:
fields total:
13
integrity:
14