To define a method in gen-class you need to use a prefix on the function name, "-" is the default prefix
On Wed, Sep 6, 2017, 14:41 Cecil Westerhof <[email protected]> wrote: > 2017-09-06 23:27 GMT+02:00 Matching Socks <[email protected]>: > >> There is a hint, as to this, in the API doc of gen-class: >> >> >> https://clojure.github.io/clojure/clojure.core-api.html#clojure.core/gen-class >> > > That explains what happens, not why. ;-) > > -- > Cecil Westerhof > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [email protected] > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > [email protected] > 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 unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
