Logtalk built-in method: findall/3

contents > reference manual > built-in methods

## `findall/3`

#### Description

>     findall(Term, Goal, List)

> (see the Prolog ISO standard definition)

#### Template and modes

>     findall(@term, +callable, -list)

#### Errors

> (see the Prolog ISO standard)

#### Examples

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

previous | glossary | next
Copyright © Paulo Moura — Logtalk.org