Re: [m-users.] Free and Ground in the same error line?

Tomas By <[email protected]> Sat, 28 Oct 2023 17:53:22 +0200
Newsgroups gmane.comp.lang.mercury.general
Message-ID <[email protected]>
On Sat, 28 Oct 2023 17:29:13 +0200, Sean Charles (emacstheviking) wrote:
> I've also been contemplating making a command line tool out of the
> term-rewriting example code

This is a good idea, it is very easy in Mercury, with the token &
parser libraries.


> My main issue was finding operators that aren't already taken [...]
> in Mercury you have to find something not used by any modules you've
> imported

You can switch to `use_module' instead of `import_module' for those
that have names you want. Then your name has preference and the
library ones need qualifier.

/Tomas
_______________________________________________
users mailing list
[email protected]
https://lists.mercurylang.org/listinfo/users