Documentation Prolog Predicate Reference lists maplist/5

maplist/5

Check if goal can be applied to several lists.

Description

maplist( :callable_term, ?list, ?list, ?list, ?list )

As in maplist/2, but operating four elements at a time from the four lists. In this case, the Goal will consume four elements each time, one from each list.

Implementation