[Haskell] RE: specification of sum
Scherrer, Chad
Chad.Scherrer at pnl.gov
Wed Nov 2 00:56:21 EST 2005
> The solution would be to bring 'sum' and 'product' into the Num class so
> the most efficient version for each type can be used and the default is
> no worse than the current non-class versions. (this is even pretty much
> completly backwards compatable so could be considered for haskell 06)
>
> I'd also like to see 'join' and 'ap' added to Monad while we are at it.
>
> John
Ooo, that's much better. I'll retract my sum' suggestion in that case.
More information about the Haskell
mailing list