
 bags.pl
bags.pl findall(-Var, +Goal, -Bag) is det
 findall(-Var, +Goal, -Bag) is det findall(-Var, +Goal, -Bag, +Tail) is det
 findall(-Var, +Goal, -Bag, +Tail) is detThe findall/4 variation is a difference-list version of findall/3.
 findnsols(+Count, @Template, :Goal, -List) is nondet
 findnsols(+Count, @Template, :Goal, -List) is nondet findnsols(+Count, @Template, :Goal, -List, ?Tail) is nondet
 findnsols(+Count, @Template, :Goal, -List, ?Tail) is nondet?- findnsols(5, I, between(1, 12, I), L). L = [1, 2, 3, 4, 5] ; L = [6, 7, 8, 9, 10] ; L = [11, 12].
 bagof(+Var, +Goal, -Bag) is semidet
 bagof(+Var, +Goal, -Bag) is semidet setof(+Var, +Goal, -Set) is semidet
 setof(+Var, +Goal, -Set) is semidetThe following predicates are exported, but not or incorrectly documented.
 findnsols(Arg1, Arg2, Arg3, Arg4, Arg5)
 findnsols(Arg1, Arg2, Arg3, Arg4, Arg5) findall(Arg1, Arg2, Arg3, Arg4)
 findall(Arg1, Arg2, Arg3, Arg4)