• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

/usr/lib/swipl/library/prolog_code.pl
All Application Manual Name SummaryHelp

  • swipl
    • library
      • error.pl
      • debug.pl
      • apply.pl
      • lists.pl
      • broadcast.pl -- Event service
      • shlib.pl
      • option.pl
      • thread_pool.pl -- Resource bounded thread management
      • gensym.pl
      • settings.pl
      • arithmetic.pl -- Extensible arithmetic
      • main.pl -- Provide entry point for scripts
      • readutil.pl
      • operators.pl -- Manage operators
      • pairs.pl
      • prolog_source.pl
      • quasi_quotations.pl
      • url.pl
      • www_browser.pl
      • 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
      • ugraphs.pl
      • solution_sequences.pl -- Modify solution sequences
      • atom.pl
      • prolog_pack.pl
      • git.pl -- Run GIT commands
      • ctypes.pl -- Character code classification
      • utf8.pl
      • base64.pl -- Base64 encoding and decoding
      • persistency.pl -- Provide persistent dynamic predicates
      • pure_input.pl
      • nb_set.pl
      • aggregate.pl
      • csv.pl -- Process CSV (Comma-Separated Values) data
      • iostream.pl -- Utilities to deal with streams
      • dialect.pl
      • apply_macros.pl -- Goal expansion rules to avoid meta-calling
      • yall.pl
      • prolog_code.pl -- Utilities for reasoning about code
        • comma_list/2
        • semicolon_list/2
        • mkconj/3
        • mkdisj/3
        • is_predicate_indicator/1
        • pi_head/2
        • head_name_arity/3
        • most_general_goal/2
        • extend_goal/3
        • predicate_label/2
        • predicate_sort_key/2
        • is_control_goal/1
        • body_term_calls/2
      • dif.pl -- The dif/2 constraint
      • thread.pl -- High level thread primitives
      • predicate_options.pl
      • rbtrees.pl
      • nb_rbtrees.pl
      • sandbox.pl
      • prolog_format.pl
      • random.pl
      • pprint.pl
      • modules.pl
      • lazy_lists.pl
      • edinburgh.pl
      • prolog_clause.pl
      • prolog_breakpoints.pl
      • dicts.pl
      • backcomp.pl
      • ansi_term.pl
      • threadutil.pl -- Interactive thread utilities
      • base32.pl
      • prolog_debug.pl
      • make.pl
      • check.pl -- Consistency checking
      • charsio.pl -- I/O on Lists of Character Codes
      • listing.pl -- List programs and pretty print clauses
      • prolog_stack.pl -- Examine the Prolog stack
      • statistics.pl -- Get information about resource usage
      • quintus.pl
      • tableutil.pl
      • optparse.pl
      • date.pl
      • terms.pl
      • increval.pl
      • tables.pl
      • prolog_jiti.pl
      • prolog_versions.pl
      • sort.pl
      • codesio.pl
      • intercept.pl
      • prolog_coverage.pl
      • tty.pl
      • prolog_codewalk.pl -- Prolog code walker
      • edit.pl
      • varnumbers.pl -- Utilities for numbered terms
      • explain.pl -- Describe Prolog Terms
      • portray_text.pl -- Portray text
      • prolog_trace.pl
      • prolog_wrap.pl
      • files.pl
      • wfs.pl
      • coinduction.pl
      • strings.pl
      • heaps.pl
      • prolog_qlfmake.pl -- Compile the library to QLF format
      • hashtable.pl
      • help.pl
      • oset.pl
      • prolog_profile.pl
      • shell.pl -- Elementary shell commands
      • prolog_config.pl -- Provide configuration information
      • macros.pl
      • writef.pl
      • prolog_autoload.pl
      • qsave.pl
      • zip.pl
      • system.pl
      • streams.pl -- Manage Prolog streams
      • exceptions.pl
      • prolog_metainference.pl
      • fastrw.pl -- Fast reading and writing of terms
      • when.pl
 comma_list(?CommaList, ?List)
 semicolon_list(?SemicolonList, ?List)
True if CommaList is a nested term over the ','/2 (';'/2) functor and List is a list expressing the elements of the conjunction. The predicate is deterministic if at least CommaList or List is sufficiently instantiated. If both are partial structures it enumerates ever growing conjunctions and lists. CommaList may be left or right associative on input. When generated, the CommaList is always right associative.

This predicate is typically used to reason about Prolog conjunctions (disjunctions) as many operations are easier on lists than on binary trees over some operator.

ClioPatria (version V3.1.1-59-g7b9a7a3)