[m-dev.] Foreign type compare and unification

Fergus Henderson fjh at cs.mu.OZ.AU
Wed May 15 12:39:31 AEST 2002


On 14-May-2002, Peter Ross <pro at missioncriticalit.com> wrote:
> IMHO the typeclass approach with the deriving annotation from Haskell seems
> the most elegant approach to me.

Haskell's "deriving" annotation has the drawback that the language
has a fixed list of classes for which you are allowed to write "deriving".
The mechanism is not extensible.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list