
13 Jun
2013
13 Jun
'13
2:20 p.m.
Dne 06/13/2013 07:05 PM, Stephen Tetley napsal(a):
-1
I'm against adding Semigroup to Base as it only has one useful operation in the class and no useful generic functions (without adding more overhead to Base - non-empty lists, naturals...). The most useful function from Semigroups for me is `times1p` (or its monoidal variant `timesN`). What about adding a function similar to `timesN` (perhaps with another name) to Prelude (and implement `(^)` with it)?
Petr
_______________________________________________ Libraries mailing list Libraries@haskell.org http://www.haskell.org/mailman/listinfo/libraries