[Haskell-cafe] a beginner question: decorate-op-undecorate
aran.donohue at gmail.com
Sat Feb 6 15:14:29 EST 2010
One way or the other, this has been a very productive question for getting
good pointers on what to read about next...
On Sat, Feb 6, 2010 at 8:18 AM, Stephen Tetley <stephen.tetley at gmail.com>wrote:
> Hi John
> I'm not sure about making Binding polymorphic to get Functor,
> Traversable, Foldable...
> While I think you're correct that partitionEithers might not be a
> useful example to draw from in this case, I'd assume that Binding
> would be part of a larger syntax-tree, thus there might not be a
> appropriate single leaf to make the tree polymorphic on. Felipe
> Lessa's point - to use Uniplate or one of the Generics packages -
> might be a better candidate for implementing traversals.
> Best wishes
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe