
15 Jan
2008
15 Jan
'08
8:01 p.m.
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