The worst piece of syntax in Haskell

Claus Reinke claus.reinke at talk21.com
Tue Feb 21 19:25:19 EST 2006


> class Monad m 
>    => MonadPlus m 
>    where ...
> 
> class Ord a 
>    => Ix a 
>    where ...
>
> instance Integral a 
>        => Eq (Ratio a) 
>        where ...

still difficult?-) works just as well when the constraint lists get longer.

claus

ps. I like that its the same way as for type signatures.


More information about the Haskell-prime mailing list