extras/moose/moose.m:
Emit an import of the string module since the generated code
contains calls to string.format.
Omit the import of std_util from the generated code as that is
no longer required.
extras/moose/samples/cgram.moo:
We no longer need to import the string module here.
extras/moose/tests/array_based.moo:
Syntax and formatting cleanup
extras/moose/mercury_syntax.m:
Import the mercury_term_parser modules.
extras/moose/moose.m:
Replace calls to io.see etc. (Using explicit stream arguments
would be better, but is future work.)
extras/moose/tests/array_based.moo:
Replace a call to a deleted predicate.
extras/*/*.m:
Replace the use of '__' as a module qualifier in the rest of
the extras.
s/io\.state/io/ in the extras.
Use '=' instead of is/2 in a spot.
Estimated hours taken: 1
Branches: main
extras/moose/moose.m:
Fix a bug introduced by petr's last change: put back the
`:- import_module list.' declaration, since it is needed for
the references to `[]', `[|]', `list', and `list_skel'.
But put it back in the implementation section rather than in
the interface section, because it is not needed by the interface.
extras/moose/tests/Mmakefile:
extras/moose/tests/array_based.moo:
Add a regression test.