If this is your code: http://www.lisperati.com/clojure-spels/code.html
Then (spel-print (describe-paths 'living-room game-map)) will work.
spel-print takes a list that is returned from describe-paths.
/Kevin
On Mon, Dec 12, 2011 at 7:51 AM, jayvandal s...@ida.net wrote:
I am trying castin
I am trying castin spels in clojure and I get this error. What does it
mean??
user= (spel-print describe-paths 'living-room game-map)
java.lang.IllegalArgumentException: Wrong number of args (3) passed
to: user$spel-print (NO_SOURCE_FILE:0)
==
code is
Hello,
You'll need to include the source of the spel-print function, i.e. the
(defn spel-print ...) part of the code.
The error means that you're calling spel-print with either too many or too
few arguments. But we can't tell unless you provide the code for that
function :)
Regards,
Stuart
On