A.1 library(aggregate): Aggregation operators on backtrackable predicates
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
The SWI-Prolog library
library(aggregate): Aggregation operators on backtrackable predicates
aggregate/3
aggregate/4
aggregate_all/3
aggregate_all/4
foreach/2
free_variables/4
safe_meta/2
Packages
Availability:
:- use_module(
library(aggregate)
).
(can be autoloaded)
[nondet]
aggregate
(
+Template, :Goal, -Result
)
Aggregate bindings in
Goal
according to
Template
. The
aggregate/3
version performs
bagof/3
on
Goal
.