:- use_module(library(apply)).
call(Goal, ElemIn, _)
library(yall)
?- convlist([X,Y]>>(integer(X), Y is X^2), [3, 5, foo, 2], L). L = [9, 25, 4].
library(maplist)
library(lists)