[Haskell-cafe] Collections

Andrew Coppin andrewcoppin at btinternet.com
Wed Jun 20 14:42:59 EDT 2007


David House wrote:
> Andrew Coppin writes:
>  > > Data.Graph -- graph type
>  > >   
>  > 
>  > What would you use that for? (And what does it do?)
>
> It's for graphs, in the graph-theory [1] sense.
>   

Yes, I realise that. (I'm not a graph theory expert, but I'm aware of 
the subject.) But what kind of thing would you use a general graph for? 
(Rather than some more specific custom data type.)

>  > > Data.Tree -- rose tree type
>  > >   
>  > 
>  > What's a rose tree? (I only know about binary trees. Well, and N-ary 
>  > trees... but nobody uses those.)
>
> Well, it is said that a rose tree by any other name would be just as N-ary. (I
> think they're the same concept :)).
>   

LOL! I asked Wikipedia about "rose tree" and got something quite 
different... ;-)



More information about the Haskell-Cafe mailing list