Syb Renovations? Issues with Data.Generics
Sterling Clover
s.clover at gmail.com
Tue Jul 29 17:22:56 EDT 2008
I'd be very excited by Claus or someone else taking charge of worrying about
efficiency/API issues in SYB. -- adding other useful common combinators and
traversals, tuning for performance, etc. Furthermore, I very much agree that
the incomplete instances are a bad idea. They're a hack which makes certain
things simpler but makes lots of other things harder/less sound. I can see
needing to import them for simplicity's sake in a single project, but I'd
consider it very bad form for a library to need them as opposed to going the
extra mile and wrapping usage in appropriate newtypes. One of the big
problems with programming with Data.Generics is that various partial
instances make it a real minefield if one isn't careful, and the more we can
do to reduce that, the better.
--S
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/libraries/attachments/20080729/c742ab16/attachment.htm
More information about the Libraries
mailing list