Did you know ...
Search Documentation:
Predicate fail_if/1
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
library
dialect
bim.pl
hprolog.pl -- hProlog compatibility library
ifprolog.pl -- IF/Prolog compatibility package
sicstus.pl -- SICStus 3 compatibility library
sicstus4.pl -- SICStus 4 compatibility library
xsb.pl -- XSB Prolog compatibility layer
setup_dialect/0
xsb_import/2
xsb_set_prolog_flag/2
compile/2
load_dyn/1
load_dyn/2
load_dync/1
load_dync/2
set_global_compiler_options/1
compiler_options/1
fail_if/1
sk_not/1
gc_tables/1
cputime/1
walltime/1
debug_ctl/2
thread_shared/1
fmt_write/2
fmt_write/3
path_sysop/2
path_sysop/3
abort/1
yap.pl -- YAP Compatibility module
fail_if
(:P)
Same as \+ (support XSB legacy code). As the XSB manual claims this is optimized we normally do goal expansion to
\+/1
.