Benjamin L. Russell wrote: >> java.lang.Exception: Unable to resolve symbol: thisfn in this context >> (NO_SOURCE_FILE:6) >> [Thrown class clojure.lang.Compiler$CompilerException] > > However, no definition is given for "thisfn" in the talk.
(defn argcount
([] 0)
([x] 1)
([x y] 2)
([x y & more]
(+ (argcount x y) (count more))))
Replace thisfn with argcount and it should work. That was just a
placeholder or something which Rich forgot to fix in the slides.
Or may be thisfn used to be something and doesn't exist anymore.
Regards,
BG
--
Baishampayan Ghose <[email protected]>
oCricket.com
signature.asc
Description: OpenPGP digital signature
