[m-rev.] diff: carve string.{from,to}_int.m out of string.m

Zoltan Somogyi zoltan.somogyi at runbox.com
Wed Sep 16 19:38:19 AEST 2026



On Wed, 16 Sep 2026 17:47:29 +1000, Peter Wang <novalazy at gmail.com> wrote:
> I don't remember what the "mercury__" prefix is about,

It was Fergus's idea for an implicit "mercury" package wrapper around
the names of all the standard library modules. I don't remember its purpose,
but it may have been simply to reduce the intrusion of the Mercury library
into the name space available to every programmer.

> but I guess it is missing.

Are you trying to build a workspace that contains this change
using an installed compiler that does not? If so, then the problem
is that the installed does not know that the new module should be
treated as part of the Mercury standard library. Installing a new
compiler that has the updated library.m should fix i.

Zoltan.


More information about the reviews mailing list