mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-16 09:53:36 +00:00
Branches: main
Add the predicate unsorted_aggregate2/6 to the solutions module of the
standard library.
library/solutions.m:
Add the new predicate.
browser/declarative_tree.m:
Handle builtin_aggregate2/6 like builtin_aggregate/4.
NEWS:
Announce the new predicate.
tests/hard_coded/Mmakefile:
tests/hard_coded/unsorted_agg2.{m,exp}:
A simple test of the new predicate.
5 lines
65 B
Plaintext
5 lines
65 B
Plaintext
Collecting 3 ...
|
|
Collecting 4 ...
|
|
Collecting 5 ...
|
|
[10, 8, 6]
|