There are other nine defs in core that don't have a dash version, either. I guess if they were to take def- they'd have to add the others and then add any new defs in pairs. But there's no reason to write ugly code; just write your own or use a contrib, if available.
On Sep 17, 7:54 am, Rob Lally <rob.la...@gmail.com> wrote: > Hi all, > > Whilst trying to minimise the visible surface areas of namespaces, I've often > felt the need for a def- function/macro that marks a def'ed var with :private > metadata. An analog of defn-, if you will. > > Is there a reason that I shouldn't do this or a reason that it doesn't seem > to be a member of the core lib? > > In the spirit of Hunt & Thomas' "Select isn't broken", when I encounter > something this trivial, useful and absent I tend to conclude that I'm the one > who's got things wrong. > > Thanks in advance, > > Rob. -- 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