listing/0

listing*

vxuLists in the current output stream all the clauses for which source code is available (these include all clauses for dynamic predicates and clauses for static predicates compiled when source mode was on).

  • listing//00 lists in the current module

  • listing//11 receives a generalization of the predicate indicator:

  • listing(_) will list the whole sources.

  • listing(lists:_) will list the module lists.

  • listing(lists:append) will list all append predicates in the module lists.

  • listing(lists:append/_) will do the same.

  • listing(lists:append//33)will list the popular @ref U60UappendU2fU_3 "</tt>append//3"3 predicate in the module lists.`

  • listing//22 is similar to listing//11, but t he first argument is a stream reference.

Thelistingfamily of built-ins does not enumerate predicates whose name starts with a$character.