Did you know ...
Search Documentation:
Predicate modes_to_predicate_indicators/2
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
pldoc
pldoc
doc_process.pl -- Process source documentation
doc_register.pl
doc_modes.pl -- Analyse PlDoc mode declarations
process_modes/6
compile_mode/2
mode/2
is_mode/1
mode_indicator/1
modes_to_predicate_indicators/2
compile_clause/2
doc_wiki.pl -- PlDoc wiki parser
doc_util.pl -- PlDoc utilities
doc_library.pl -- BIM compatibility layer
doc_htmlsrc.pl -- HTML source pretty-printer
doc_colour.pl -- Source colouring support
doc_html.pl -- PlDoc HTML backend
doc_man.pl -- Process SWI-Prolog HTML manuals
doc_search.pl -- Search form and reply
doc_index.pl -- Create indexes
doc_words.pl -- Reason about Prolog jargon
man_index.pl -- Index the HTML manuals
doc_access.pl
doc_pack.pl -- PlDoc for Prolog extension packs
modes_to_predicate_indicators
(+Modes:list, -PI:list)
is
det
Create a list of predicate indicators represented by
Modes
. Each predicate indicator is of the form atom/integer for normal predicates or atom//integer for DCG rules.
Arguments:
Modes
- Mode-list as produced by
process_modes/5
PI
- List of Name/Arity or Name//Arity without duplicates