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

A.20 library(listing): List programs and pretty print clauses
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • The SWI-Prolog library
        • library(listing): List programs and pretty print clauses
          • listing/0
          • listing/1
          • listing/2
          • portray_clause/1
          • portray_clause/2
          • portray_clause/3
    • Packages
Availability::- use_module(library(listing)).(can be autoloaded)
Sourcelisting
Lists all predicates defined in the calling module. Imported predicates are not listed. To list the content of the module mymodule, use one of the calls below.
?- mymodule:listing.
?- listing(mymodule:_).
ClioPatria (version V3.1.1-40-g9d9e003)