explain .scryerrc configuration file

This commit is contained in:
Markus Triska
2020-06-13 16:47:02 +02:00
parent 2c6b615b8c
commit 862197fc96

View File

@@ -473,3 +473,17 @@ local_member(X, Xs) :- member(X, Xs).
The user listing can also be terminated by placing `end_of_file.` at The user listing can also be terminated by placing `end_of_file.` at
the end of the stream. the end of the stream.
### Configuration file
At startup, Scryer Prolog consults the file `~/.scryerrc`, if the file
exists. This file is useful to automatically load libraries and define
predicates that you need often.
For example, a sensible starting point for `~/.scryerrc` is:
```
:- use_module(library(lists)).
:- use_module(library(dcgs)).
:- use_module(library(reif)).
```