How can I retrieve the argument list of a given function? I want to write a function that returns curried versions of other functions, that's why I want to access the argument list.