Fwd: [Haskell-cafe] Data.Tree.Zipper in the standard libraries

Neil Mitchell ndmitchell at gmail.com
Mon Jun 2 18:05:25 EDT 2008


> Neil, nobody is suggesting to add the zipper to the "base" package, we
> are talking about the "containers" package, which is also available

I was referring to base as "the set of Core libraries" - my
terminology was wrong, but my arguments were written with me thinking
"containers", so still apply.

> In this case, the zipper is the iterator type for trees, so I think
> that it is justified to add it to the same package as trees.

Talking to people on IRC today it appears there is a reasonably large
design space for a zipper interface. If this is true, then putting a
zipper in the containers package without some significant real-world
experience is probably premature.



More information about the Libraries mailing list