16 Jan
2009
16 Jan
'09
7:21 a.m.
On Thu, Jan 15, 2009 at 5:32 PM, Andrew Coppin
As an aside, the integers form two different monoids. Haskell can't [easily] handle that. Does anybody know of a language that can?
Some of the ML-derived languages can do that. Essentially, your code
takes another module which implements a monoid as an argument.
The catch is that you have to explicitly provide the monoid
implementation in order to use your code.
--
Dave Menendez