Proposal: improve the Data.Tree API
Daniel Trstenjak
daniel.trstenjak at gmail.com
Fri Feb 28 14:22:32 UTC 2014
Hi Milan,
On Fri, Feb 28, 2014 at 02:32:12PM +0100, Milan Straka wrote:
> I like lookupTree (being the one who suggested that), as it is returning
> a Tree.
Ok, that's a good point.
> But maybe it would be better to have lookupTreeBy instead of findTree --
> when you see lookupTree and lookupTreeBy, it is quite obvious how they
> differ. If I saw lookupTree and findTree, I would have to see the docs
> to find the difference.
Why then not going with the shorter 'findTree' and 'findTreeBy'?
Greetings,
Daniel
More information about the Libraries
mailing list