setof/3


Description

setof(Term, Goal, List)

(see the Prolog ISO standard definition)

Template and modes

setof(@term, +callable, -list)

Errors

(see the Prolog ISO standard)

Examples

To find all solutions in this:
setof(Term, Goal, List)
To find all solutions in self:
setof(Term, ::Goal, List)
To find all solutions in an object:
setof(Term, Object::Goal, List)

Previous | Next | Table of Contents | Bibliography | Glossary

Last updated on: October 21, 2001