> In clojure's core.clj, assert-args is marked with ^{:private true}. Why?
> Seems like something that would be useful in any macro definition, not just
> the ones in core.clj...
A similar argument could be made for several of the other couple of dozen
private names in core.clj. They are not, because "useful" is a much lower bar
than "core".
That said, useful things deserve a good home. Fortunately there is a contrib
for macro utilities: https://github.com/clojure/tools.macro. This would be a
good home for an improved version of assert-args, plus other macro
error-reporting tools people find useful.
Stu
Stuart Halloway
Clojure/core
http://clojure.com
--
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