ant - Don't know how to create ISeq from: clojure.lang.Var error -
this code write ant looking food genetic program. first day try learn clojure, clojush, push. when try run code,
compilerexception java.lang.illegalargumentexception: don't know how create iseq from: clojure.lang.var i have no idea happens.
also, if see else wrong, or maybe whole idea wrong, please let me know also. thanks
doall expects collection argument.
don't def inside functions. def creates global var. should avoid side-effects inside function. state should managed using atoms, refs or agents.
i recommend start smaller pieces. try getting 1 function working @ at time. progress faster , if need ask help, clearer stuck on. @ full stack trace, tell problem occurring.
Comments
Post a Comment