[m-dev.] for review: typeclasses in .opt files

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Dec 2 16:47:26 AEDT 1999


On 02-Dec-1999, Simon Taylor <stayl at cs.mu.OZ.AU> wrote:
> 
> Implement handling of typeclasses for inter-module optimization.

That change looks fine to me.

> compiler/intermod.m:
> 	Write all local typeclasses, instances, types, insts and modes to
> 	the `.opt' file, instead of trying to work out which are needed.
> 	The old code to do this missed some types, insts and modes
> 	(test case tests/valid/intermod_test.m).

It would of course be nicer to write out only the ones which are needed...
I suppose you considered this and decided that it was difficult to
implement?

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- 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