It's the default prefix for methods in classes generated by gen-class: http://clojure.github.com/clojure/clojure.core-api.html#clojure.core/gen-class
On Sat, Feb 25, 2012 at 15:17, ClusterCat <[email protected]> wrote: > Hi there, > > in some clojure examples I see function names with a leading dash like > -main() > -getFoo() (in backing bean) > -setBar() (in backing bean) > > Are these functions with leading dash anything special? Or is this dash > required for some interop? > I didn't find any documentation about it. > > Thanks in advance, > Marcel > > -- > 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 -- Moritz Ulrich -- 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
