Documentation Prolog Predicate Reference lists drop/3

drop/3

Drop the first elements of a list.

Description

drop( +integer, +list, -list )

drop(N, List, Final_list) is true if and only if Final_list is the result of removing the first N elements from List.

Implementation