Did you know ... Search Documentation:
Packs (add-ons) for SWI-Prolog

Package "persist"

Title:Persists facts into a file
Rating:Not rated. Create the first rating!
Latest version:0.3
SHA1 sum:366c7217bc91b378cfb30d7967b1d372a469d3f0
Author:Risto Stevcev <risto1@gmail.com>

Reviews

No reviews. Create the first review!.

Details by download location

VersionSHA1#DownloadsURL
0.15c2f1a0ae2133ab4ae7ba549af5570e5c3a8cf501https://github.com/Risto-Stevcev/prolog_persist.git
ad6501ba43eb14c5c00a9a3ac5697c21a26f9b8a1https://github.com/Risto-Stevcev/prolog_persist.git
0.2972e70b8fe5a7ef8d161dd09f7554b9b4d95332c1https://github.com/Risto-Stevcev/prolog_persist.git
b61c083fc721d52056684bf5e5cd4759a7058bdb1https://github.com/Risto-Stevcev/prolog_persist.git
0.3366c7217bc91b378cfb30d7967b1d372a469d3f04https://github.com/Risto-Stevcev/prolog_persist.git

prolog-persist

Persists facts into a file

Usage

?- use_module(library(persist)).
true.

?- use_module(fixtures/friends).
true.

?- find_term(friend(jill, mark), friends).
false.

?- add_term(friend(jill, mark), friends).
true.

?- find_term(friend(jill, mark), friends).
true.

?- remove_term(friend(jill, mark), friends).
true.

?- find_term(friend(jill, mark), friends).
false.

License

See LICENSE

Contents of pack "persist"

Pack contains 11 files holding a total of 7.9K bytes.