:- multifile user:library_directory/1.
Defines a library directory. Used by predicates taking file_spec as input argument.
Either an atom giving the path to
a file or directory, or PathAlias(DirSpec), where PathAlias is
defined by a
These facts define directories to search when a file specification
) is expanded to the full path, in addition
to the predefined library path, which is tried first.
file_search_path mechanism is an extension of the
library_directory scheme and is preferred.
| ?- [user]. % compiling user... | :- multifile user:library_directory/1. | library_directory('/usr/joe_bob/prolog/libs'). | end_of_file. % compiled user in module user, 0 msec 384 bytes yes | ?- ensure_loaded(library(flying)). % loading file /usr/joe_bob/prolog/libs/flying.qof ...