Documentation maplist/3
available from version beta

maplist/3

Apply goal to the elements of a list.

Description

maplist( :callable_term, ?list, ?list )

maplist(Goal, List, MapList) is true if and only if MapList is a list made up of the elements of List after applying Goal to each of them.

Implementation