Interfaces - the Golden Path of Haskell?

Ben Franksen ben.franksen at online.de
Sat Jun 29 16:38:13 CEST 2013


Wvv wrote:
>   class Monoid a where ... 
> 
>   class Monad m => Monoid m where ... 

This is a kind error. The m in Monoid has kind *, while the one in Monad has 
kind * -> *.

I suggest you (try to) rewrite your proposal to eliminate these kind errors 
before any further elaboration.

Cheers
-- 
Ben Franksen
()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachm€nts




More information about the Haskell-prime mailing list