[mercury-users] Proposed change to char literal syntax
Ralph Becket
rafe at csse.unimelb.edu.au
Thu Oct 5 10:01:22 AEST 2006
Nicholas Nethercote, Thursday, 5 October 2006:
>
> Your suggestion about single quotes removing an operator's fixity will fix
> a lot of cases, eg. '+'. But what about '%'?
'%' shouldn't present any problems - you can use it now in Mercury
programs if you are feeling brave.
The real question is whether we should
(1) require char literals to be single character singly quoted atoms and
have multi-character literals be function symbols or
(2) use a different quoting scheme for function symbols containing odd
characters.
Of course, unicode will probably throw a few spanners in the works
either way...
--------------------------------------------------------------------------
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