A.23 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:_).