Re: maven-shade-plugin issues with Clojure core (or any clj) AOT compilation

2018-02-10 Thread Philip Aston
I just tripped over this and opened https://issues.apache.org/jira/browse/MSHADE-272 . Affected users might like to vote it up. FWIW, my workaround: maven-shade-plugin ...

Re: [PATCH] Enhance clojure.data/diff to cope with falsey values in maps

2012-06-12 Thread Philip Aston
I've opened JIRA CLJ-1011. On Sunday, June 10, 2012 1:16:55 PM UTC+1, Philip Aston wrote: > > Current behaviour of clojure.data/diff: > > => (diff {:a false} {:a true}) > (nil {:a true} nil) > => (diff {:a false} {:a nil}) > (nil nil nil) > > With patch: >

[PATCH] Enhance clojure.data/diff to cope with falsey values in maps

2012-06-10 Thread Philip Aston
nsistent and useful to me, but I may be missing something. Should I open a JIRA? - Phil --- >From e03a8060214d122ea2ebadf9e8a368f7f593d9f4 Mon Sep 17 00:00:00 2001 From: Philip Aston Date: Sun, 10 Jun 2012 13:11:36 +0100 Subject: [PATCH] clojure.data/diff: cope with falsey values in map

Re: aot compilation: minimise the scope of the resulting classes

2012-05-22 Thread Philip Aston
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

compile: produce a java class with minimum linkage to other clojrue code

2012-05-22 Thread Philip Aston
Hello, I'm aot compiling a namespace with lein2 to produce a Java class that is (:gen-class :name blah.Bootstrap :implements [some.java.Interface] :prefix bootstrap- )) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this grou

aot compilation: minimise the scope of the resulting classes

2012-05-22 Thread Philip Aston
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.