Hi, I'd rather have DrIFT depend only on haskell98, that will give it the widest range of compilers it will work on. To only depend on Haskell 98 if possible to be portable is a good idea imho. as far as i know, it is already pure haskell 98 so it should just need the right compile flag on new versions of ghc. You are right: passing --with-hcflags='-hide-all-packages -package haskell98' to configure does the trick ... nearly: When using GHC 7.4 even then `Num' seems to be no subclass of `Show' (and `Eq') anymore. But to fix
Hi John
2012/1/18 John Meacham
I tend to mainly keep jhc compatible with what is in ubuntus stable release, which is ghc 7.0.2 at the moment. though patches for newer versions would be appreciated of course.
Other than DrIFT jhc does use a few of GHC's Haskell extensions (at least at the moment). So I guess that for jhc one have to remove the usage of `haskell98' package in favor of `base'. By the way: A first try to compile DrIFT with UHC (http://www.cs.uu.nl/wiki/UHC) fails: UHC does not understand (at least) the options `--make', `-hidir' or `-odir' (but `--odir'). Dirk