Did you know ... | Search Documentation: |
Packs (add-ons) for SWI-Prolog |
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> |
No reviews. Create the first review!.
Version | SHA1 | #Downloads | URL |
---|---|---|---|
0.3 | 366c7217bc91b378cfb30d7967b1d372a469d3f0 | 5 | https://github.com/Risto-Stevcev/prolog_persist.git |
0.2 | b61c083fc721d52056684bf5e5cd4759a7058bdb | 1 | https://github.com/Risto-Stevcev/prolog_persist.git |
972e70b8fe5a7ef8d161dd09f7554b9b4d95332c | 1 | https://github.com/Risto-Stevcev/prolog_persist.git | |
0.1 | 5c2f1a0ae2133ab4ae7ba549af5570e5c3a8cf50 | 1 | https://github.com/Risto-Stevcev/prolog_persist.git |
ad6501ba43eb14c5c00a9a3ac5697c21a26f9b8a | 1 | https://github.com/Risto-Stevcev/prolog_persist.git |
Persists facts into a file
?- 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.
See LICENSE
Pack contains 11 files holding a total of 7.9K bytes.