On Sat, Oct 24, 2015 at 5:19 AM, lennart spitzner <l...@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 _______________________________________________ cabal-devel mailing list cabal-devel@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/cabal-devel