[Haskell-cafe] data type declaration
Stephen Tetley
stephen.tetley at gmail.com
Sun Jul 25 09:10:06 EDT 2010
On 25 July 2010 13:09, Andrew Coppin <andrewcoppin at btinternet.com> wrote:
> This is not valid in Haskell '98. This is actually a type system extension
> known as "multi-parameter type classes", which do not even vaguely
> correspond to anything in normal OOP. (Except for being very slightly
> similar to generics, perhaps.)
Closest perhaps to multimethods in Cecil and and I think CLOS - though
multimethods in CLOS does seem to take things far out into space with
:before :after and :around.
More information about the Haskell-Cafe
mailing list