• 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

A.24 library(listing): List programs and pretty print clauses
All Application Manual Name SummaryHelp

  • 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-51-ga0b30a5)