[m-dev.] Re: [HAL-dev] Summary of resources/solvers meeting 23/8/04

Ralph Becket rafe at cs.mu.OZ.AU
Tue Aug 24 15:26:35 AEST 2004


The idea of adding globals to Mercury sits uncomfortably with me.  Would
there be a problem with adding them this way?

	:- solver type t
		where	representation is ...,
			...
			constraint_store `with_type` ... is_initially ...  

This way we tie the global to the solver type and, hopefully, discourage
their abuse.

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