On Tuesday, May 22, 2012 6:06:21 PM UTC+1, Hugo Duncan wrote:
>
> Phil Hagelberg writes:
> > One solution is to call require at runtime inside function bodies
> > rather than at the top-level. Then to call the functions from the
> > runtime-required namespace, use the resolve function.
>
> Anot
Phil Hagelberg writes:
> On Mon, May 21, 2012 at 10:56 AM, Philip Aston wrote:
>> I'd like to compile the bare minimum, even if this means some sort of
>> thunk in Bootstrap. How can I do this?
>
> One solution is to call require at runtime inside function bodies
> rather than at the top-level.
On Mon, May 21, 2012 at 10:56 AM, Philip Aston wrote:
> I'm using lein2 to aot compile a namespace than generates a Java
> "Bootstrap" class. Bootstrap implements an interface and delegates
> calls to other namespaces.
>
> For some reason, the resulting jar file includes compiled classes for
> the
I'm using lein2 to aot compile a namespace than generates a Java
"Bootstrap" class. Bootstrap implements an interface and delegates
calls to other namespaces.
For some reason, the resulting jar file includes compiled classes for
the delegate namespaces, and many of their transitive dependencies.