Hi, Am 14.12.2009 um 07:16 schrieb Chouser:
> I'd like a ruling on this as well. It solves a real problem of > macros getting access to helper functions, so if we shouldn't be > relying on it, a reliable solution would be desirable. > > This technique is actually used in the "new" branch in > core_deftype.clj so that the 'defprotocol' macro can expand into > a usage of a private fn 'assert-same-protocol'. But that doesn't > necessarily prove it's an acceptible solution. Why don't we get rid of private Vars anyway? There is always the possibility of a foo.internal namespace containing "private" (but technically public) Vars, which can be accessed easily from foo (via :use). Then also macros don't need voodoo dolls to access them. syntax-quote just resolves them correctly. Sincerely Meikel
smime.p7s
Description: S/MIME cryptographic signature