
At 14:50 29/07/04 +0200, enrico.santoemma@tin.it wrote:
Are type classes different from Java classes? I think so, but I guess this means that one should ask different things to type classes, respect to what is being asked to Java classes. It is this difference that's unclear to me.
I made some notes about this, but they're in no sense authoritative: http://www.ninebynine.org/Software/Learning-Haskell-Notes.html#type-class-mi... There was also a little discussion of these notes, starting around: http://www.haskell.org//pipermail/haskell/2003-December/013269.html and subsequently transferring to Haskell-cafe. There was some discussion of classes and their relation to OO style, but that seems to have been off-list. Some of the comments received have been added to my notes. #g ------------ Graham Klyne For email: http://www.ninebynine.org/#Contact