[mercury-users] string comparisons

Julien Fischer juliensf at csse.unimelb.edu.au
Thu Jan 24 17:09:10 AEDT 2008


On Thu, 24 Jan 2008, Nicholas Nethercote wrote:

> Hi,
>
> I don't see any predicates to compare strings in the 'string' library.  Does 
> the built-in string comparison do lexicographical ordering?

The builin string comparison just calls strcmp() in the C grades,

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