See also once/1
once(Goal) should be the same as limit(1,Goal)
| Did you know ... | Search Documentation: |
| Predicate limit/2 |
limit(+Count,
:Goal)| Count | is either infinite,
making this predicate equivalent to
call/1 or an integer. If Count <
1 this predicate fails immediately. |
See also once/1
once(Goal) should be the same as limit(1,Goal)