[m-dev.] abstract type class declarations

Fergus Henderson fjh at cs.mu.OZ.AU
Mon Dec 10 12:43:25 AEDT 2001


Mercury supports abstract type class declarations,
i.e. code such as the following:

	:- module foo.
	:- interface.
	:- typeclass c(T).	% abstract type class declaration

	:- implementation.
	:- typeclass c(T) where [...].

This is used, for example, in library/store.m.

However, I just noticed that this language feature is not documented in
the language reference manual.

Am I right to presume that there would be no objections to officially
documenting this feature?

-- 
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