mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-24 13:53:54 +00:00
Estimated hours taken: 0.1 Add the DPPD (dozens of problems in partial deduction) suite to the tests directory.
16 lines
265 B
Mathematica
16 lines
265 B
Mathematica
:- module bug.
|
|
|
|
:- interface.
|
|
|
|
:- pred map_reduce is semidet.
|
|
|
|
:- implementation.
|
|
|
|
:- import_module list.
|
|
|
|
map_reduce :-
|
|
map_reduce_add([[1,2],[1,2,3]],[_L1,_L2]).
|
|
|
|
:- pred map_reduce_add(list(list(int))::in, list(int)::out) is det.
|
|
:- external(map_reduce_add/2).
|