
Andrew Coppin
Ozgur Akgun wrote:
A humble suggestion: Have a *lazy* "to list" method for your /lists, arrays, sets, etc./ and use the nice list-only version.
Yeah, that works quite nicely.
It won't work for arbitrarily complex structures, however. My main point was that if you make the constructors abstract and provide functions to query the structure, now you can't pattern match against it.
http://hackage.haskell.org/trac/ghc/ticket/3583 ...I think the issue just has to be nailed down precisely, and then someone has to volunteer implementing it. -- (c) this sig last receiving data processing entity. Inspect headers for copyright history. All rights reserved. Copying, hiring, renting, performance and/or quoting of this signature prohibited.