On Fri, 27 Mar 2009, Robin Green wrote:
I am writing some code for citation support in gitit, and all the #ifdefs I'm using to do conditional compilation are a bit tiresome.
I live well without CPP in Haskell. When I need conditional compilation I create two directories with modules of the same names in it. Then I set Hs-Source-Dirs conditionally in Cabal.
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe