[mercury-users] Proposed change to char literal syntax

Ralph Becket rafe at csse.unimelb.edu.au
Mon Oct 2 14:41:51 AEST 2006


Ian MacLarty, Monday,  2 October 2006:
> You haven't said what the proposed change is.

We have not worked out the details.  One option is to
- require character literals to appear in single quotes
- make quoted symbols lose any "fixity" (so '+', say, will not be
  interpreted as an infix symbol).

But we already use single quotes to delimit odd function symbols (e.g.,
ones starting with capital letters).  It's not clear precisely what the
solution is, but it won't be syntactically heavy and it will require
users to change some of their programs.

-- Ralph
--------------------------------------------------------------------------
mercury-users mailing list
Post messages to:       mercury-users at csse.unimelb.edu.au
Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
Subscriptions:          mercury-users-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the users mailing list