mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-16 18:03:36 +00:00
tests/submodules/*.m:
Rename modules as mentioned above.
Indent nested submodules to make them stand out.
Group foreign_procs by what predicate they implement, not by
their implementation language.
tests/submodules/*.m:
tests/submodules/*.err_exp:
tests/submodules/Mmakefile:
tests/submodules/Mercury.options:
Update all references to the moved modules.
47 lines
1.1 KiB
Mathematica
47 lines
1.1 KiB
Mathematica
%---------------------------------------------------------------------------%
|
|
% vim: ts=4 sw=4 et ft=mercury
|
|
%---------------------------------------------------------------------------%
|
|
|
|
:- module daf_bug_helper_1.
|
|
:- interface.
|
|
|
|
:- include_module daf_bug_helper_2.
|
|
:- import_module daf_bug_helper_1.daf_bug_helper_2.
|
|
|
|
:- import_module list.
|
|
:- import_module univ.
|
|
|
|
:- type outer_public
|
|
---> outer_public0(list(int))
|
|
; outer_public1(inner_public)
|
|
; outer_public2(inner_private).
|
|
|
|
:- type inner_public
|
|
---> inner_public(bool_kind, int, int).
|
|
|
|
:- type inner_private.
|
|
|
|
:- func parent_value = list(outer_public).
|
|
|
|
:- func parent_value2 = univ.
|
|
|
|
:- implementation.
|
|
|
|
:- type outer_private
|
|
---> outer_private0(list(int))
|
|
; outer_private1(inner_public)
|
|
; outer_private2(inner_private).
|
|
|
|
:- type inner_private
|
|
---> inner_private(bool_kind, int, int).
|
|
|
|
parent_value = [
|
|
outer_public1(inner_public(geq, 561, 42)),
|
|
outer_public2(inner_private(geq, 561, 42))
|
|
].
|
|
|
|
parent_value2 = univ([
|
|
outer_private1(inner_public(geq, 561, 42)),
|
|
outer_private2(inner_private(geq, 561, 42))
|
|
]).
|