[Haskell-cafe] Building a tree?

michael rice nowgate at yahoo.com
Wed Jun 10 20:05:11 EDT 2009

Here's a function from Data.Tree:

unfoldTree :: (b -> (a, [b])) -> b -> Tree a
Build a tree from a seed value

Could someone please give me a brief example of usage.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090610/938ca5f7/attachment.html

More information about the Haskell-Cafe mailing list