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

Jinjing Wang nfjinjing at gmail.com
Sat Nov 27 17:59:43 CET 2010

Dear list,

>From ghc 7.0.1 release notes:

> The Language.Haskell.TH.Quote.QuasiQuoter type has two new fields: quoteType and quoteDec.

Some of my code needs to be conditionally compiled to support both
version 6 and 7, what is the recommended way to do it?


* http://new-www.haskell.org/ghc/docs/7.0.1/html/users_guide/release-7-0-1.html


More information about the Haskell-Cafe mailing list