Exemplo n.º 1
0
 public static T runTest <T>(IEnumerable <T> list, Monoid <T> m)
 {
     list.Aggregate(m.MEmpty, (a, b) => m.MAppend(a, b));
 }