Skip to main content
2 of 2
s/there/their
npostavs
  • 9.3k
  • 1
  • 24
  • 54

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