Ian Lynagh wondered:
| is there a nicer way to do something like
|
| #ifdef __GLASGOW_HASKELL__
| #include "GHCCode.hs"
| #else
| > import HugsCode
| #endif
I usually make two directories:
Hugs/
Ghc/
That contain files with the same names but different
compiler-d
Hi all
First a brief question - is there a nicer way to do something like
#ifdef __GLASGOW_HASKELL__
#include "GHCCode.hs"
#else
> import HugsCode
#endif
than that (i.e. code that needs to be different depending on if you are
using GHC or HUGS)?
Secondly, I don't know