[Haskell-beginners] about the concatenation on a tree

Max cs max.cs.2009 at googlemail.com
Wed Dec 31 10:02:48 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/beginners/attachments/20081231/20794b50/attachment.htm


More information about the Beginners mailing list