Re: Various software and a question

2001-02-02 Thread Koen Claessen
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

Various software and a question

2001-02-01 Thread Ian Lynagh
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