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.1
SHA1 sum:5c2f1a0ae2133ab4ae7ba549af5570e5c3a8cf50
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

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 10 files holding a total of 5.6K bytes.