[mercury-users] Unable to parse single character comma

Richard O'Keefe ok at cs.otago.ac.nz
Wed Nov 16 14:30:35 AEDT 2011


Single quotation marks accomplish one thing and one thing only:
they allow an arbitrary sequence of characters to be treated as
an atom.  They do nothing to operator properties.  In this case,
Prolog systems (from which Mercury derived much of its syntax)
treat	true, true	and	true ',' true	as the same.

--------------------------------------------------------------------------
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