[m-dev.] logging proposal

Mark Brown mark at cs.mu.OZ.AU
Thu Mar 2 15:40:01 AEDT 2006


On 01-Mar-2006, Ian MacLarty <maclarty at cs.mu.OZ.AU> wrote:
> The thing that bothers me about the 'debug [!IO] (...)' syntax is that 
> there are always only two variables in the square brackets and square 
> brackets are normally used for arbitrary length lists.  Perhaps it 
> should be 'debug {!IO} (...)'?

That's the thing that bothers me most about my suggestion too.

Curly braces can be used for arbitrary length tuples, though, so if we
want something else then I'd suggest using arguments for the "quantifier":

	debug(!IO) ( ... )

but I think I prefer the list syntax.

Cheers,
Mark.

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