pre-710 compatibility stuff
Thomas Tuegel
ttuegel at gmail.com
Sat Oct 24 13:05:44 UTC 2015
On Sat, Oct 24, 2015 at 5:19 AM, lennart spitzner
<lsp at informatik.uni-kiel.de> wrote:
> hi,
>
> should we use
> #if __GLASGOW_HASKELL__ < 710
> or
> #if !MIN_VERSION_base(4,8,0)
> ?
>
> currently both are used in different places, and i have no idea if
> there is a difference/if it matters. if it does not, i suggest
> conventionizing one of the two.
MIN_VERSION_base is defined by Cabal, so it is not available during
bootstrapping. This means we unfortunately need to use
__GLASGOW_HASKELL__ in Cabal, even though it isn't really the right
macro. It should be safe to use MIN_VERSION_base in cabal-install.
--
Thomas Tuegel
More information about the cabal-devel
mailing list