Did you know ...
Search Documentation:
Predicate derived_predicate_options/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
Documentation
Reference manual
The SWI-Prolog library
library(predicate_options): Declare option-processing of predicates
Improving on the current situation
Reflective access to options
predicate_options/3
assert_predicate_options/4
current_predicate_option/3
check_predicate_option/3
current_option_arg/2
current_predicate_options/3
check_predicate_options/0
derive_predicate_options/0
retractall_predicate_options/0
derived_predicate_options/3
derived_predicate_options/1
Packages
Availability:
:- use_module(
library(predicate_options)
).
(can be autoloaded)
[nondet]
derived_predicate_options
(
:PI, ?Arg, ?Options
)
Derive option arguments using static analysis. True when
Options
is the current
derived
active option declaration for
PI
on
Arg
.