get value from list
Description
x get(L)
get(L) produces the leftmost element of L and removes it from L, but fails if L is empty. get is a synonym for pop.
Parameters
- L
- list of items as a stack
- returns
- L[1] and pops the stack
Errors
See Also
- pop — pop from list
- pull — pull from list
- push — push onto list
- put — put onto list