- swipl
- library
- error.pl
- debug.pl -- Print debug messages and test assertions
- apply.pl -- Apply predicates on a list
- lists.pl -- List Manipulation
- broadcast.pl
- predicate_options.pl -- Access and analyse predicate options
- shlib.pl -- Utility library for loading foreign objects (DLLs, shared objects)
- option.pl -- Option list processing
- thread_pool.pl -- Resource bounded thread management
- gensym.pl
- settings.pl -- Setting management
- arithmetic.pl -- Extensible arithmetic
- main.pl
- readutil.pl -- Read utilities
- operators.pl -- Manage operators
- pairs.pl -- Operations on key-value lists
- prolog_source.pl -- Examine Prolog source-files
- quasi_quotations.pl -- Define Quasi Quotation syntax
- url.pl -- Analysing and constructing URL
- www_browser.pl -- Open a URL in the users browser
- prolog_colour.pl -- Prolog syntax colouring support.
- record.pl -- Access compound arguments by name
- prolog_xref.pl -- Prolog cross-referencer data collection
- occurs.pl -- Finding and counting sub-terms
- ordsets.pl -- Ordered set manipulation
- assoc.pl -- Binary associations
- ugraphs.pl -- Graph manipulation library
- iostream.pl -- Utilities to deal with streams
- atom.pl -- Operations on atoms
- prolog_pack.pl -- A package manager for Prolog
- solution_sequences.pl -- Modify solution sequences
- git.pl -- Run GIT commands
- ctypes.pl -- Character code classification
- utf8.pl -- UTF-8 encoding/decoding on lists of character codes.
- base64.pl -- Base64 encoding and decoding
- persistency.pl -- Provide persistent dynamic predicates
- pure_input.pl -- Pure Input from files and streams
- nb_set.pl -- Non-backtrackable sets
- aggregate.pl -- Aggregation operators on backtrackable predicates
- csv.pl -- Process CSV (Comma-Separated Values) data
- dialect.pl -- Support multiple Prolog dialects
- apply_macros.pl -- Goal expansion rules to avoid meta-calling
- yall.pl -- Lambda expressions
- prolog_code.pl -- Utilities for reasoning about code
- dif.pl -- The dif/2 constraint
- thread.pl -- High level thread primitives
- rbtrees.pl -- Red black trees
- nb_rbtrees.pl -- Non-backtrackable operations on red black trees
- random.pl -- Random numbers
- sandbox.pl -- Sandboxed Prolog code
- prolog_format.pl -- Analyse format specifications
- pprint.pl -- Pretty Print Prolog terms
- modules.pl -- Module utility predicates
- lazy_lists.pl -- Lazy list handling
- edinburgh.pl -- Some traditional Edinburgh predicates
- prolog_clause.pl -- Get detailed source-information about a clause
- prolog_breakpoints.pl -- Manage Prolog break-points
- dicts.pl -- Dict utilities
- backcomp.pl -- Backward compatibility
- help.pl -- Text based manual
- date.pl -- Process dates and times
- varnumbers.pl -- Utilities for numbered terms
- statistics.pl -- Get information about resource usage
- intercept.pl -- Intercept and signal interface
- ansi_term.pl -- Print decorated text to ANSI consoles
- system.pl -- System utilities
- prolog_profile.pl -- Execution profiler
- listing.pl -- List programs and pretty print clauses
- quintus.pl -- Quintus compatibility
- base32.pl -- Base32 encoding and decoding
- charsio.pl -- I/O on Lists of Character Codes
- codesio.pl -- I/O on Lists of Character Codes
- coinduction.pl -- Co-Logic Programming
- heaps.pl -- heaps/priority queues
- sort.pl
- terms.pl -- Term manipulation
- when.pl -- Conditional coroutining
- make.pl -- Reload modified source files
- oset.pl -- Ordered set manipulation
- macros.pl -- Macro expansion
- writef.pl -- Old-style formatted write
- wfs.pl -- Well Founded Semantics interface
- prolog_stack.pl -- Examine the Prolog stack
- increval.pl -- Incremental dynamic predicate modification
- tables.pl -- XSB interface to tables
- tty.pl -- Terminal operations
- exceptions.pl -- Exception classification
- threadutil.pl -- Interactive thread utilities
- prolog_debug.pl -- User level debugging tools
- prolog_jiti.pl -- Just In Time Indexing (JITI) utilities
- edit.pl -- Editor interface
- check.pl -- Consistency checking
- hashtable.pl -- Hash tables
- win_menu.pl -- Console window menu
- prolog_versions.pl -- Demand specific (Prolog) versions
- prolog_trace.pl -- Print access to predicates
- strings.pl -- String utilities
- prolog_coverage.pl -- Coverage analysis tool
- rwlocks.pl -- Read/write locks
- qsave.pl -- Save current program as a state or executable
- zip.pl -- Access resource ZIP archives
- optparse.pl -- command line parsing
- shell.pl -- Elementary shell commands
- prolog_codewalk.pl -- Prolog code walker
- prolog_metainference.pl -- Infer meta-predicate properties
- prolog_autoload.pl -- Autoload all dependencies
- fastrw.pl -- Fast reading and writing of terms
- prolog_wrap.pl -- Wrapping predicates
- prolog_config.pl -- Provide configuration information
- prolog_history.pl -- Per-directory persistent commandline history
- portray_text.pl -- Portray text
- streams.pl -- Manage Prolog streams
- files.pl
- library
- dict_options(?Dict, ?Options) is det
- Convert between an option list and a dictionary. One of the
arguments must be instantiated. If the option list is created,
it is created in canonical form, i.e., using Option(Value) with
the Options sorted in the standard order of terms. Note that the
conversion is not always possible due to different constraints
and conversion may thus lead to (type) errors.
- Dict keys can be integers. This is not allowed in canonical option lists.
- Options can hold multiple options with the same key. This is not allowed in dicts. This predicate removes all but the first option on the same key.
- Options can have more than one value (
name(V1,V2)). This is not allowed in dicts.
Also note that most system predicates and predicates using this library for processing the option argument can both work with classical Prolog options and dicts objects.