[Haskell-cafe] Painting logs to get a coloured tree

Luke Palmer lrpalmer at gmail.com
Mon Feb 9 18:41:08 EST 2009


2009/2/9 Joachim Breitner <mail at joachim-breitner.de>

> Now while this works, and while ST is still somewhat pure, I'm wondering
> if there is no better way of expressing "This piece of information came
> from the point in a data structure, so something else can be put here
> easily".


You might want to look into zippers:  http://haskell.org/haskellwiki/Zipper

Luke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090209/04e68e81/attachment.htm


More information about the Haskell-Cafe mailing list