• 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

2.7.2 library(explain): Describe Prolog Terms
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • Overview
        • Online Help
          • library(explain): Describe Prolog Terms
            • explain/1
            • explain/2
    • Packages
Availability::- use_module(library(explain)).(can be autoloaded)
Source[det]explain(@Term)
Give an explanation on Term. Term can be any Prolog data object. Some terms have a specific meaning:

  • A (partial) reference to a predicate gives the predicates, its main properties and references to the predicates. Partial references are:

    • Module:Name/Arity
    • Module:Head
    • Name/Arity
    • Name//Arity
    • Name
    • Module:Name

  • Some predicate properties. This lists predicates as above the have this property. The specification can be of the shape Module:Property or just Property. The qualified version limits the result to predicates defined in Module. Supported properties are:

    • dynamic
    • thread_local
    • multifile
    • tabled
ClioPatria (version V3.1.1-59-g7b9a7a3)