Did you know ...
Search Documentation:
Predicate exclude/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
IRC
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
Documentation
Reference manual
The SWI-Prolog library
library(apply): Apply predicates on a list
include/3
exclude/3
partition/4
partition/5
maplist/2
maplist/3
maplist/4
maplist/5
convlist/3
foldl/4
foldl/5
foldl/6
foldl/7
scanl/4
scanl/5
scanl/6
scanl/7
Packages
Availability:
:- use_module(
library(apply)
).
(can be autoloaded)
[det]
exclude
(
:Goal, +List1, ?List2
)
Filter elements for which
Goal
fails. True if
List2
contains those elements Xi of
List1
for which
call(Goal, Xi)
fails.
See also
include/3
,
partition/4