[mercury-users] An ugliness in the language (char literals)

Michael Day mcda at students.cs.mu.oz.au
Wed Aug 2 13:18:00 AEST 2000


> Yes it is, but this isn't one of those times.  Prolog doesn't have a character
> type, it just uses integers.  And prolog's syntax for character constants is
> 0'c, which uses Prolog's general radix notation with a radix of 0.  As ugly as
> that may be, it doesn't cause any problems with operators or need any
> escaping.

Ugh.  Ain't Mercury syntax ugly at times?

Michael

--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list