librelist archives

« back to archive

Re: [leiningen] Is leiningen.core supposed to be compatible with Clojure 1.3?

Re: [leiningen] Is leiningen.core supposed to be compatible with Clojure 1.3?

From:
Phil Hagelberg
Date:
2013-02-18 @ 16:26
Brian Marick writes:

> Midje uses leiningen.core.project. Up through 2.0.0-preview10, that
> was compatible with Clojure 1.3.

Leiningen makes pretty extensive use of ex-info, so I'd be surprised if
it works in 1.3.

-Phil

Re: [leiningen] Is leiningen.core supposed to be compatible with Clojure 1.3?

From:
Brian Marick
Date:
2013-02-19 @ 15:27
On Feb 18, 2013, at 10:26 AM, Phil Hagelberg <phil@hagelb.org> wrote:
> 
> Leiningen makes pretty extensive use of ex-info, so I'd be surprised if
> it works in 1.3.


Defining ex-info to just throw a RuntimeException (without any payload) 
worked fine with leiningen.core.project. Now I use 
https://github.com/scgilardi/slingshot, which has a 1.3-compatible 
ex-info.

Midje's use of leiningen.core is pretty limited: just to read the project 
map. I almost wrote my own implementation, but decided to hold off until 
after Midje's 1.5 release.

I do have a weird fetish for backwards compatibility. It was only very 
late in the development of Midje 1.5 that I gave up on compatibility with 
Clojure 1.2.

--------
Looking for employment as a Clojure programmer
Latest book: /Functional Programming for the Object-Oriented Programmer/
https://leanpub.com/fp-oo