next up previous contents index
Next: Extended Logic Programs Up: Library Utilities Previous: Arrays   Contents   Index

Asserts/Retracts using Tries

In Version 2.2, trie asserted code has been merged with standard asserted code. If the user wishes to use tries for dynamic code, the recommended programming practice is as outlined in the section Modification of the Database in Volume 1. For compatibility with previous versions, the predicates trie_assert/1, trie_retract/1, trie_retractall/1, trie_retract_nr/1, abolish_trie_asserted/1 and trie_dynamic/1 can be imported from the module tables. However, if the current index specification of these predicates is trie (again, see the section Modification of the Database in Volume 1, the predicates are defined as assert/1, retract/1, retractall/1, retract_nr/1, abolish/1 and dynamic/1 respectively. If the index specification is other than tries, the predicate will issue a warning message and have no effect on the database.



Baoqiu Cui
2000-04-23