Zoltan Somogyi 4d6bc0cd5b Rename and document unused_args.m's main data structure.
compiler/unused_args.m:
    Rename the "usage_info" type to "required_by". Document the meaning
    of its contents.

    Rename the low-level predicates that operate on this data structure
    accordingly. Make them fit consistently into the same pattern:
    X_{is,are}_required_by_Y.

    In the argument lists of these predicates, pass values of arg_var_in_proc
    as a unit, instead of passing them as two separate components, one of which
    was easily confusable with another argument that has the opposite role.

    To make this possible *and* non-misleading, reorder arguments as needed.
    In one case, replace a call to list.foldl with an explicit loop
    to make the reordering possible.

    Give the high-level predicates that operate on this data structure
    more descriptive names as well. Document the logic behind the fixpoint
    iteration.
2026-02-19 18:05:31 +11:00
2026-02-18 20:58:27 +11:00
2026-02-19 15:24:59 +11:00
2026-02-04 04:17:41 +11:00
2026-02-19 15:24:59 +11:00
2026-02-01 02:59:16 +11:00
2026-01-01 19:56:20 +11:00
2026-02-07 15:56:32 +11:00
2025-11-01 16:50:02 +11:00
2026-01-16 02:45:19 +11:00
2025-12-18 19:28:44 +11:00
2026-01-01 19:56:20 +11:00
2025-08-12 13:06:18 +02:00
2025-08-09 10:14:25 +02:00
2026-01-31 01:48:48 +11:00
2026-01-13 17:30:27 +11:00
2025-12-26 16:28:05 +11:00

Mercury

Mercury is a logic/functional programming language which combines the clarity and the expressiveness of declarative programming with advanced static analysis and error detection features.

More information is available on the website's about pages, in other README files in the source code repository, and in the documentation.

Small sample programs written in Mercury can be found in the samples and extras directories of the source code repository.

README files

The Mercury compiler has two different backends and works on different operating systems. Specific information is contained in individual README files in the Documentation directory:

Other information

See the current release notes for the latest stable release. The news file lists any recent changes. The files in the Documentation directory whose names start with NEWS are relevant if you want to find out more about the past development of Mercury. The limitations file lists some ways in which the Mercury implementation does not yet meet its goals.

Information for developers

If you are considering contributing to the Mercury project, the website contains some documents that may be helpful. These include a document about contributions in general and specific information about contributing such as coding styles.

Contact

See our contact page.

Description
No description provided
Readme MIT 145 MiB
Languages
Mercury 85.4%
C 8.7%
Shell 1.4%
Makefile 1%
JavaScript 1%
Other 2%