A singly linked list can be thought of having two constructors:
an empty list
an element followed by a list
They're often called "nil" and "cons" in functional programming.
What do other languages call these?
Sep 8, 2025 · 10:11 AM UTC


