[Haskell-cafe] Building a tree?

wren ng thornton wren at freegeek.org
Thu Jun 11 20:49:56 EDT 2009


michael rice wrote:
> Example understood. Thanks.
> 
> Is there a module for binary trees?

Not that I know of off hand. Trees are one of those data structures with 
so many different variants that people end up rolling their own based on 
whatever they need at the time. Hence Data.Tree, Data.Sequence, 
Data.Set, Data.Map, Data.IntMap, Data.Trie,...

-- 
Live well,
~wren


More information about the Haskell-Cafe mailing list