list_wrap function

Returns a function that coerces the return values of a function to a list