[Haskell-cafe] Re: ANN: A triple of new packages for talking tothe outside world

Neil Mitchell ndmitchell at gmail.com
Tue Jan 15 20:01:48 EST 2008


Hi

> (maybe a bit of TH for generating the common bits)

That would be bad. Then you'll have gone from Data.Binary being
portable code, to being GHC specific code, and I will cry.... :'-(

CPP is a good way to common stuff up in a portable way - I've used it
in FilePath. There is nearly no end to the amount of crazy CPP hackery
you can use to refactor stuff.

Thanks

Neil


More information about the Haskell-Cafe mailing list