[m-dev.] for review: teeny changes to string.m

Michael Day mcda at students.cs.mu.oz.au
Fri Oct 27 23:27:43 AEDT 2000


Oh, another thing I noticed in string.m is that there is no method to
update the value of a particular character in a string:

:- pred set(char, int, string, string).
:- mode set(in, in, in, out) is semidet.

or some such predicate and a corresponding unsafe variant. Is this an
intentional lack or is it just that no one has needed it?

Michael



--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list