This should probably ALSO accept a predicate call as in
help(file_base_name(Base,"/foo/bar/baz.gz")).
Because wrapping "help" around a failed call without editing it further would be a common thing to do.
Did you know ... | Search Documentation: |
Predicate help/1 |
topics(s)
to give help for. Notations for What
are:
?- help(append).
/
Arity//
Arity:
Name:
Name/Arity
help/1 shows documentation from the manual as well as from loaded user code if the code is documented using PlDoc. To show only the documentatoion of the loaded predicate we may prefix predicate indicator with the module in which it is defined.
If an exact match fails this predicates attempts fuzzy matching and, when successful, display the results headed by a warning that the matches are based on fuzzy matching.
If possible, the results are sent through a pager such as the
less
program. This behaviour is controlled by the Prolog
flag
help_pager
. See section level documentation.
This should probably ALSO accept a predicate call as in
help(file_base_name(Base,"/foo/bar/baz.gz")).
Because wrapping "help" around a failed call without editing it further would be a common thing to do.