When you sum the elements of a list ( may be by using #recursion , with mconcat #monoid ) , you assume associativity
As in a+(b+c) = (a+b)+c
Which amounts to saying that two trees on the lhs and rhs are identical!
What is the topology of a tree?
As in a+(b+c) = (a+b)+c
Which amounts to saying that two trees on the lhs and rhs are identical!
What is the topology of a tree?