Re:What I wish I knew when learning OCaml (2018)
by gpderetta on Tuesday May 03, 2022 @08:05AM
(#31247282)
Cons comes from Lisp: 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).
[ Parent
| on HN ]
There are no comments on this comment yet.