Yes, indeed, thats a totally different discussion I do not want to enter:
http://www.reddit.com/r/haskell/comments/xo05l/why_isnt_length_part_of_foldable/

So, I'll 'erase' the length function from the proposal, since:
* it's definition is not unanymous
* my definition (number of elements) is simple enough to be implemented in several ways

Cheers
Joćo



2014-02-24 10:48 GMT+00:00 Henning Thielemann <schlepptop@henning-thielemann.de>:
Am 24.02.2014 11:39, schrieb Joćo Cristóvćo:


-- | Length of the tree
length :: Tree a -> Int

This one could be implemented more generally (maybe additionally) in Data.Foldable. But this would be another proposal.