[mercury-users] Proposed change to char literal syntax
Michael Day
mikeday at yeslogic.com
Thu Oct 5 13:52:26 AEST 2006
> Alas, that isn't quite true. Because of an early decision to make
> Mercury strings identical to C strings, you can't have a function symbol
> that contains character code 0 (NUL). I think the string decision was a
> poor one, but currently that's what we have.
Is this:
:- func '\0' = char.
treated like this:
:- func '' = char.
by the compiler?
Michael
--
Print XML with Prince!
http://www.princexml.com
--------------------------------------------------------------------------
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