• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
    • RDF quality heuristics
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

2.14 Automatic loading of libraries
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • Overview
        • Automatic loading of libraries
          • autoload_path/1
          • make_library_index/1
          • make_library_index/2
          • reload_library_index/0
    • Packages
Availability:built-in
Sourceautoload_path(+DirAlias)
Add DirAlias to the libraries that are used by the autoloader. This extends the search path autoload and reloads the library index. For example:
:- autoload_path(library(http)).

If this call appears as a directive, it is term-expanded into a clause for user:file_search_path/2 and a directive calling reload_library_index/0. This keeps source information and allows for removing this directive.

ClioPatria (version V3.1.1-40-g9d9e003)