- swipl
- library
- error.pl
- debug.pl
- apply.pl
- lists.pl
- broadcast.pl
- predicate_options.pl
- shlib.pl
- option.pl
- thread_pool.pl
- gensym.pl
- settings.pl
- arithmetic.pl
- main.pl
- readutil.pl
- 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
- 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
- tables.pl -- XSB interface to tables
- macros.pl -- Macro expansion
- terms.pl -- Term manipulation
- charsio.pl -- I/O on Lists of Character Codes
- increval.pl -- Incremental dynamic predicate modification
- base32.pl -- Base32 encoding and decoding
- codesio.pl -- I/O on Lists of Character Codes
- coinduction.pl -- Co-Logic Programming
- date.pl -- Process dates and times
- heaps.pl -- heaps/priority queues
- sort.pl
- statistics.pl -- Get information about resource usage
- varnumbers.pl -- Utilities for numbered terms
- when.pl -- Conditional coroutining
- backcomp.pl -- Backward compatibility
- prolog_trace.pl -- Print access to predicates
- prolog_wrap.pl -- Wrapping predicates
- listing.pl -- List programs and pretty print clauses
- library
- portray_clause(+Clause) is det
- portray_clause(+Out:stream, +Clause) is det
- portray_clause(+Out:stream, +Clause, +Options) is det
- Portray `Clause' on the current output stream. Layout of the clause
is to our best standards. Deals with control structures and calls
via meta-call predicates as determined using the predicate property
meta_predicate. If Clause contains attributed variables, these are
treated as normal variables.
Variable names are by default generated using numbervars/4 using the option
singletons(true). This names the variables A, B, ... and the singletons _. Variables can be named explicitly by binding them to a term'$VAR'(Name), where Name is an atom denoting a valid variable name (see the optionnumbervars(true)from write_term/2) as well as by using thevariable_names(Bindings)option from write_term/2.Options processed in addition to write_term/2 options:
- variable_names(+Bindings)
- See above and write_term/2.
- indent(+Columns)
- Left margin used for the clause. Default
0. - module(+Module)
- Module used to determine whether a goal resolves to a meta
predicate. Default
user.