bagof/3


Description

bagof(Term, Goal, List)

(see the Prolog ISO standard definition)

Template and modes

bagof(@term, +callable, -list)

Errors

(see the Prolog ISO standard)

Examples

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)

Previous | Next | Table of Contents | Bibliography | Glossary

Last updated on: August 6, 2002