Hi Gijs, it wasn't a typo, but lack of knowledge :-) Indeed this is the solution.
Thanks for your help! Regards, Arie 2010/11/27 Gijs S. <gijsstuur...@gmail.com> > Hi, > > Perhaps it is a typo but you should have > > (defn -main [] ...) rather than (defn- main [] ...) > > Note the place of the dash "-". > > defn- yields a non public var (a private declaration) > (http://clojure.github.com/clojure/clojure.core-api.html#clojure.core/ > defn-) > > -main uses the dash, which is the default :prefix "-" for method > lookup in a class > (http://clojure.github.com/clojure/clojure.core-api.html#clojure.core/ > gen-class) > > Cheers, > Gijs > > -- > 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 > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com<clojure%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en -- 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 Note that posts from new members are moderated - please be patient with your first post. 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