22 lines
320 B
Markdown
22 lines
320 B
Markdown
--------------------
|
|
|
|
## uncons
|
|
|
|
Basis Function
|
|
|
|
Removes an item from a list and leaves it on the stack under the rest of
|
|
the list. You cannot `uncons` an item from an empty list.
|
|
|
|
[a ...] uncons
|
|
--------------------
|
|
a [...]
|
|
|
|
### Discussion
|
|
|
|
This is the inverse of [cons].
|
|
|
|
### Crosslinks
|
|
|
|
[cons]
|
|
|