Name: Anonymous 2015-10-14 7:24
Isn't it hilarious? But the real question is, why are Haskallers so stupid? seriously, it's almost like they want to shit all over what took them decades to build...
List keep length and call the Foldable equivalent total or something? Because the name length implies some sort of sequential linear structure, while a Tree can be Foldable too.it's not something you can abstract over with a classYou can if you restricted it to type constructors with kind
*->*, and Foldable does just this.class Foldable f where foldr::(a->b->b)->b->f a->bFoldable from being a convoluted OVER-ENGINEERED piece of shitware.