Did you know ... Search Documentation:
gensym.pl
PublicShow source
Source coninc(+Counter) is det
Source coninc(+Counter, -NewValue) is det
Flag baseed counters.
See also
- conset/2 and conget/2 from machine.pl

Re-exported predicates

The following predicates are re-exported from other modules

Source reset_gensym
Reset gensym for all registered keys. This predicate is available for compatibility only. New code is strongly advised to avoid the use of reset_gensym or at least to reset only the keys used by your program to avoid unexpected side effects on other components.
Source gensym(+Base, -Unique)
Generate <Base>1, <Base>2, etc atoms on each subsequent call. Note that there is nothing that prevents other parts of the application to `invent' the same identifier. The predicate gensym/2 is thread-safe in the sense that two threads generating identifiers from the same Base will never generate the same identifier.
See also
- uuid/1, term_hash/2, variant_sha1/2 may be used to generate various unique or content-based identifiers safely.
Source reset_gensym(+Base)
Restart generation of identifiers from Base at <Base>1. Used to make sure a program produces the same results on subsequent runs. Use with care.

Undocumented predicates

The following predicates are exported, but not or incorrectly documented.

Source coninc(Arg1, Arg2)