[m-dev.] Suggestion: change quotation rule

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Mar 23 14:03:31 AEDT 2000


On 22-Mar-2000, Ralph Becket <rbeck at microsoft.com> wrote:
> Personally, I use `backquoting` where it makes code easier to read,
> which, IMHO, only works for operators with short names.  Which rules
> out module qualified names -

I find that combining infix notation and module qualifiers is
often useful.  For example if I see

	(X `union` Y) `union` Z

it's not clear which of the several `union' predicates in
the standard library this is referring to, whereas

	(X `map__union` Y) `map__union` Z

is quite clear.

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