[Haskell-cafe] Thoughts about redesigning "Num" type class

Silvio Frischknecht silvio.frischi at gmail.com
Mon Sep 7 19:52:45 UTC 2015


> class (Monoid m) => Ring m where
>     ...
> 
> class (Group a, Ring a) => Num a where
>     ...

I guess Semiring is the proper name :)


More information about the Haskell-Cafe mailing list