use meta-predicates for aggregate (like SWI does now).
This commit is contained in:
parent
c2ff395626
commit
5ab2a97852
@ -42,12 +42,12 @@
|
|||||||
:- use_module(library(error)).
|
:- use_module(library(error)).
|
||||||
:- use_module(library(lists)).
|
:- use_module(library(lists)).
|
||||||
|
|
||||||
:- module_transparent
|
:- meta_predicate
|
||||||
foreach/2,
|
foreach(0,0),
|
||||||
aggregate/3,
|
aggregate(?,0,-),
|
||||||
aggregate/4,
|
aggregate(?,?,0,-),
|
||||||
aggregate_all/3,
|
aggregate_all(?,0,-),
|
||||||
aggregate_all/4.
|
aggregate_all(?,?,0,-).
|
||||||
|
|
||||||
/** <module> Aggregation operators on backtrackable predicates
|
/** <module> Aggregation operators on backtrackable predicates
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user