gensym
The gensym
library implements predicates for generating unique
atoms. The public predicates are declared synchronized to prevent race
conditions when using a backend Prolog compiler with multi-threading
support.
API documentation
Open the ../../docs/library_index.html#gensym link in a web browser.
Loading
To load all entities in this library, load the loader.lgt
file:
| ?- logtalk_load(gensym(loader)).
Testing
To test this library predicates, load the tester.lgt
file:
| ?- logtalk_load(gensym(tester)).