cons
makes a cons cell out of two arguments. apply
uses a list as arguments to a function. When their powers combine: (apply #'cons x)
converts a two element list into a cons cell (without having to poke around inside the list) and raises an error if the list isn't 2 long.
erikstokes
- 13k
- 2
- 37
- 57