-
from the README it is given that libraries are loaded with I tried to list all available libraries like this:
How do I do this correctly? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
I do not have Scryer Prolog installed so this reply is based on my knowledge of SWI-Prolog and AFAIK there is no official documentation for Scryer Prolog. Do you really just want what is implied as a library or do you really want modules? The use of the term However to find all of the built-in modules AFAIK one has to look at the source code on the file system. If the Prolog system keeps such as a list of facts then that could be used but I am not aware of such. To search the source code the best place would be the GitHub repository. Here is a search for Scryer Prolog GitHub repository for https://github.com/mthom/scryer-prolog/search?l=Prolog&q=module%28 To see the list of currently loaded Prolog modules one can use current_module/1. If one wants to find all of the paths that the Alias library uses one could use absolute_file_name/2, i.e. AFAIK Scryer Prolog does not use Git submodules to bring in other modules, (SWI-Prolog packages), and does not have add-ins (SWI-Prolog packs), so there is no need to search other source code repositories for possible modules. HTH |
Beta Was this translation helpful? Give feedback.
-
A future website will need to have a searchable HTML-version of the documentation, probably very similar to PlDoc |
Beta Was this translation helpful? Give feedback.
I do not have Scryer Prolog installed so this reply is based on my knowledge of SWI-Prolog and AFAIK there is no official documentation for Scryer Prolog.
Do you really just want what is implied as a library or do you really want modules?
The use of the term
library
inuse_module(library(Library_name)).
is really an Alias as used with file_search_path/2 . I explain the details in this SWI-Prolog forum post.However to find all of the built-in modules AFAIK one has to look at the source code on the file system. If the Prolog system keeps such as a list of facts then that could be used but I am not aware of such.
To search the source code the best place would be the GitHub repository. Here …