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

John Meacham john at repetae.net
Mon Dec 13 23:46:52 CET 2010


A better plan would be to start depending on 'haskell2010' or
'haskell98' and get rid of explicit dependencies on 'base' altogether.
Since those are standardized between compilers.

    John

On Tue, Dec 7, 2010 at 6:59 PM, Brandon S Allbery KF8NH
<allbery at ece.cmu.edu> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 12/7/10 06:00 , Henning Thielemann wrote:
>> Brandon S Allbery KF8NH wrote:
>>> 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.
>>
>> There are good reasons for not only bundling 'ghc' package with GHC, but
>> 'base', too? I assumed it is intended to untangle 'base' and GHC in future,
>> such that 'base' can be used with JHC, UHC, Hugs.
>
> I seem to recall that the logistics of that change have been proving a bit
> difficult in practice, and as such it's probably not going to happen very soon.
>
> - --
> 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/
>
> iEYEARECAAYFAkz+9HYACgkQIn7hlCsL25XXPQCfa/x9ZyhUmN88vu3/EPv8Tjhq
> +5EAniBq3G9gto/IC8kyYFP2rAjTxB/4
> =LnDx
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>



More information about the Haskell-Cafe mailing list