True if `Goal` is successfully applied on all matching elements
of the list. The maplist family of predicates is defined as:
maplist(P, [X11,...,X1n], ..., [Xm1,...,Xmn]) :-
P(X11, ..., Xm1),
...
P(X1n, ..., Xmn).

This family of predicates is deterministic iff `Goal` is
deterministic and `List1` is a proper list, i.e., a list that
ends in `[]`

.

Similar to maplist/3,
but elements for which `call(Goal, ElemIn, _)`

fails are
omitted from `ListOut`. For example (using `library(yall)`

):
?- convlist([X,Y]>>(integer(X), Y is X^2),
[3, 5, 4.4, 2], L).
L = [9, 25, 4].

- Compatibility
- Also appears in YAP
`library(maplist)`

and SICStus
`library(lists)`

.

Fold a list, using arguments of the list as left argument. The foldl
family of predicates is defined by:
foldl(P, [X11,...,X1n], ..., [Xm1,...,Xmn], V0, Vn) :-
P(X11, ..., Xm1, V0, V1),
...
P(X1n, ..., Xmn, V', Vn).

Left scan of list. The scanl family of higher order list operations is
defined by:
scanl(P, [X11,...,X1n], ..., [Xm1,...,Xmn], V0,
[V0,V1,...,Vn]) :-
P(X11, ..., Xm1, V0, V1),
...
P(X1n, ..., Xmn, V', Vn).