[mercury-users] Proposed change to char literal syntax
Nicholas Nethercote
njn at csse.unimelb.edu.au
Fri Oct 6 10:25:39 AEST 2006
On Thu, 5 Oct 2006, Michael Day wrote:
>>> If integer literals were customisable as well then Mercury could support
>>> BigInteger literals and other number types transparently. Defining the
>>> semantics of literal values in the library seems more elegant than
>>> hard-wiring them.
>>
>> I disagree.
>
> May I ask why?
I just think allowing numeric literals to have more than one possible
meaning is a bad idea, due to the possibility of confusion.
Nick
--------------------------------------------------------------------------
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