[Haskell-cafe] Conditional compilation for different versionsof GHC?
claus.reinke at talk21.com
Wed Dec 1 17:58:06 CET 2010
> This is obviously a personal preference issue, but I try to avoid the
> Cabal macros since they don't let my code run outside the context of
> Cabal. I often times like to have a test suite that I can just use
> with runhaskell, and (unless you can tell me otherwise) I can't run it
> Also, I think
> #if GHC7
> is more transparent than a check on template-haskell.
Just in case this hasn't been mentioned yet: if you want to be
independent of cabal, there is the old standby
More information about the Haskell-Cafe