In general, I think using CPP for actual macro processing is
extremely poor style and can easily make code inscrutable (and no
doubt bug-prone). If the Haskell spec were to add support for this
sort of top-level compiler/compiletime-flag conditional definition,
I'd switch over.
I agree th
On 9/7/10 3:10 PM, Ben Millwood wrote:
So I wonder what people
think of the use of CPP in Haskell code, what alternatives people can
propose, or what people hope to see in future to make conditional
compilation of Haskell code more elegant and simple?
The only thing I ever use CPP for in Haskel
Good evening, cafe,
Having recently taken on maintenance of a package that depends on
template-haskell, I've been in some discussion with users and
dependencies of my package about how best to write a library that
works with multiple incompatible versions of a dependency. The two
main approaches t