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
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to