Skip to content

How to list all built in libraries #1602

Answered by EricGT
razetime asked this question in Q&A
Discussion options

You must be logged in to vote

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 in use_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 …

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@pmoura
Comment options

@razetime
Comment options

Answer selected by razetime
Comment options

You must be logged in to vote
3 replies
@gruhn
Comment options

@EricGT
Comment options

@aarroyoc
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants