bagof/3
bagof(Term, Goal, List)(see the Prolog ISO standard definition)
bagof(@term, +callable, -list)
(see the Prolog ISO standard)
- To find all solutions in this:
bagof(Term, Goal, List)
- To find all solutions in self:
bagof(Term, ::Goal, List)
- To find all solutions in an object:
bagof(Term, Object::Goal, List)