Re: [ANN] Clojure 1.8.0-beta2

2015-10-28 Thread Nathan Davis
On Wednesday, October 28, 2015 at 9:57:54 AM UTC-5, Alex Miller wrote: > > > On Tuesday, October 27, 2015 at 9:02:49 PM UTC-5, Nathan Davis wrote: >> >> Or better yet, is there any interest in providing an interface to hook >> into the namespace loading process, so that monkey-patches are not >>

Re: [ANN] Clojure 1.8.0-beta2

2015-10-28 Thread Alex Miller
On Tuesday, October 27, 2015 at 9:02:49 PM UTC-5, Nathan Davis wrote: > > Or better yet, is there any interest in providing an interface to hook > into the namespace loading process, so that monkey-patches are not > necessary? > > Nathan Davis > That considerably raises what needs to be conside

Re: [ANN] Clojure 1.8.0-beta2

2015-10-28 Thread Alex Miller
Sounds like a good question for discussion. Currently I believe the only way to disable direct linkability is by making a var dynamic (which I don't think is desired here), so it raises the notion that there should be some way to do this via metadata. I will bring it up with Rich. On Tuesday, O

Re: [ANN] Clojure 1.8.0-beta2

2015-10-27 Thread Nathan Davis
Or better yet, is there any interest in providing an interface to hook into the namespace loading process, so that monkey-patches are not necessary? Nathan Davis On Tuesday, October 27, 2015 at 6:47:21 PM UTC-5, Ambrose Bonnaire-Sergeant wrote: > > I've been monkey-patching `clojure.core/load`

Re: [ANN] Clojure 1.8.0-beta2

2015-10-27 Thread Ambrose Bonnaire-Sergeant
I've been monkey-patching `clojure.core/load` to add an extension point for alternative compilers. Since I learnt about the direct linking changes, I also had to monkey-patch `use` and `require`, since they refer to `load`. This works. Any interest in disabling direct linking for `clojure.core/loa

[ANN] Clojure 1.8.0-beta2

2015-10-27 Thread Alex Miller
Clojure 1.8.0-beta2 is now available. Try it via - Download: https://repo1.maven.org/maven2/org/clojure/clojure/1.8.0-beta2 - Leiningen: [org.clojure/clojure "1.8.0-beta2"] Below is a list of the other changes included in beta2. See the full change log here: https://github.com/clojure