coerce function arguments to a list