garypen/secret-santa — Issue #2: Wrong number of args passed to PersistentVector
Author: Haifen
Created: 2011-11-03 20:38:32+00:00
State: open

Hi-
secret-santa still errors out when running with no args. Somewhere (in tools.cli, I think?) something is trying to pass 2 arguments to the IFn on what I assume is a regular vector. Since vectors only take one argument (the index, usually), Clojure throws an exception rather than ignoring the second argument. I'm not sure how to get more detail as to what's going wrong, but that's the basic error as far as I can tell. Sorry this is not of more help, but I'm still not sure exactly what the problem is (or if it's even in your code and not tools.cli).

-Robin K.