Documentation Prolog Predicate Reference lists maplist/6

maplist/6

Check if goal can be applied to several lists.

Description

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

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

Implementation