Did you know ...
Search Documentation:
Predicate drop/3
HOME
DOWNLOAD
SWI-Prolog
Sources/building
Docker images
Add-ons
Browse GIT
DOCUMENTATION
Manual
Packages
FAQ
Command line
PlDoc
Bluffers
▶
Prolog syntax
PceEmacs
HTML generation
License
Publications
Rev 7 Extensions
TUTORIALS
Beginner
▶
Getting started
Learn Prolog Now!
Simply Logical
Debugger
Development tools
Advanced
▶
Modules
Grammars (DCGs)
clp(fd)
Printing messages
PlDoc
Web applications
▶
Web applications
Let's Encrypt!
Pengines
Semantic web
▶
ClioPatria
RDF namespaces
Graphics
▶
XPCE
GUI options
Machine learning
▶
Probabilistic Logic Programming
External collections
▶
Meta level tutorials
For packagers
▶
Linux packages
COMMUNITY
Forum & mailing list
Blog
News
Report a bug
Submit a patch
Submit an add-on
Roadmap (on GitHub)
External links
Contributing
Code of Conduct
Contributors
SWI-Prolog items
COMMERCIAL
WIKI
Login
View changes
Sandbox
Wiki help
All tags
library
dialect
bim.pl
hprolog.pl -- hProlog compatibility library
substitute_eq/4
memberchk_eq/2
list_difference_eq/3
intersect_eq/3
take/3
drop/3
split_at/4
max_go_list/2
or_list/2
sublist/2
bounded_sublist/3
chr_delete/3
time/3
ifprolog.pl -- IF/Prolog compatibility package
sicstus.pl -- SICStus 3 compatibility library
sicstus4.pl -- SICStus 4 compatibility library
xsb.pl -- XSB Prolog compatibility layer
yap.pl -- YAP Compatibility module
drop
(+N, +List, -ListMinFirstN)
is
semidet
Drop the first
N
elements from
List
and unify the remainder with LastElements.