4 ms·
Cons comes from Lisp: https://en.wikipedia.org/wiki/Cons https://en.wikipedia.org/wiki/Cons . In practice a cons cell is a list node represented as a pair of p
by gpderetta 5y ago
Cons comes from Lisp: https://en.wikipedia.org/wiki/Cons https://en.wikipedia.org/wiki/Cons . In practice a cons cell is a list node represented as a pair of pointers, one pointing to the contained element, the other to the next node (or null, or another element for degenerate lists).