Redis client library. Supports GNU Prolog, LVM, Qu-Prolog, SICStus Prolog, SWI-Prolog, and XSB. Support for ECLiPSe is also included but requires a fix for an ECLiPSe bug that is expected in a forthcoming version of this Prolog system.
For general information on Redis, including a list of the available commands, visit:
To load this library, load the
| ?- logtalk_load(redis(loader)).
To test this library predicates, load the
| ?- logtalk_load(redis(tester)).
The tests assume a local Redis server running on the default port. If the server is not detected, the tests are skipped.
The unit tests were originally written by Sean Charles for his GNU Prolog Redis client library:
The Logtalk version is a straight-forward port of the original tests
test/1 dialect of
This library is inspired by the Sean Charles GNU Prolog Redis client library.
Recent version of macOS seem to disable the mapping of
127.0.0.1. This issue may prevent running this library unit tests
redis::connect/1 from working. This can be fixed either by
/etc/hosts file or by using in alternative the predicateredis::connect/3
as first argument.