[Haskell-cafe] about the concatenation on a tree

Max cs max.cs.2009 at googlemail.com
Wed Dec 31 10:05:10 EST 2008


hi all, not sure if there is someone still working during holiday like me :
)

I got a little problem in implementing some operations on tree.

suppose we have a tree date type defined:

data Tree a = Leaf a | Branch (Tree a) (Tree a)

I want to do a concatenation on these tree just like the concat on list.
Anyone has idea on it? or there are some existing implementation?

Thank you and Happy New Year!

regards,
Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20081231/af70d09a/attachment.htm


More information about the Haskell-Cafe mailing list