[Haskell-cafe] confusion about 'instance'....

Miguel Mitrofanov miguelimo38 at yandex.ru
Thu Jan 10 13:59:37 EST 2008


> If I say "my name is mark" twice, it doesn't mean I belong to set of
> objects called Mark twice....

Yes, but instance declaration doesn't only state that some type  
belongs to some class. It also provides some operations on this type.


More information about the Haskell-Cafe mailing list