[m-dev.] Re: [m-rev.] field syntax (was: smart recompilation)

Ralph Becket rbeck at microsoft.com
Fri Jul 6 21:33:13 AEST 2001


> From: Fergus Henderson [mailto:fjh at cs.mu.OZ.AU]
> Sent: 06 July 2001 12:09
> 
> `|' would be nice, but unfortunately that's taken.
> Anyway, there's a shortage of single-character operators, and I don't
> think this is important enough for that, so I'd recommend a two- or
> three-character operator name.

That's a moot point...  I'd be inclined to go for '$'.

> '$|', which I have seen used in Haskell code, would also be OK,

Ugh.

> but unfortunately that lexes as two tokens, not one.
> The only characters which can be combined to form operators without
> changing the lexical syntax are the following:
> 
> 	# $ & + - . / : < = > ? @ ^ ~ \
> 
> But I guess "$>" would work.

Could we reuse '-->'?
--------------------------------------------------------------------------
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