[Haskell-beginners] about the concatenation on a tree

Max cs max.cs.2009 at googlemail.com
Wed Dec 31 09:59:24 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/8de41a30/attachment.htm


More information about the Beginners mailing list