On slide 20 of the talk "Clojure: A Dynamic Programming Language for the JVM" (see ftp://lispnyc.org/meeting-assets/2007-11-13_clojure/clojuretalk.pdf), by Rich Hickey, the following function and evaluation results are defined:
>(defn argcount > ([] 0) > ([x] 1) > ([x y] 2) > ([x y & more] > (+ (thisfn x y) (count more)))) > >(argcount 1 2 3 4 5) >-> 5 However, when I evaluate this function in the REPL, the following error is returned: >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. Forgive me if I am missing something very obvious, but does anybody know where I can find the definition of "thisfn"? -- Benjamin L. Russell -- Benjamin L. Russell / DekuDekuplex at Yahoo dot com http://dekudekuplex.wordpress.com/ Translator/Interpreter / Mobile: +011 81 80-3603-6725 "Furuike ya, kawazu tobikomu mizu no oto." -- Matsuo Basho^ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---