[Haskell-cafe] Conditional compilation for different versions of GHC?

Brandon S Allbery KF8NH allbery at ece.cmu.edu
Mon Dec 6 00:06:17 CET 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/5/10 17:05 , Henning Thielemann wrote:
> Isn't it better to move the dependency on 'base' out of the If block? I
> mean, someone might succeed to use GHC-7 with base-4.2 or GHC<7 or a
> different compiler with base-4.3.

Since the base package is (with good reason) part of the compiler, anyone
smart enough to get that to work is smart enough to edit the cabal file.

- -- 
brandon s. allbery     [linux,solaris,freebsd,perl]      allbery at kf8nh.com
system administrator  [openafs,heimdal,too many hats]  allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university      KF8NH
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkz8GukACgkQIn7hlCsL25WTxACfc4k/3GoQr402TbVFmabRD7sJ
7WEAoMnmLeaKGfjQdjdP4K60Ch6g72md
=LZuU
-----END PGP SIGNATURE-----



More information about the Haskell-Cafe mailing list