Places
Home
Graphs
Prefixes
Admin
Users
Settings
Plugins
Statistics
Repository
Load local file
Load from HTTP
Load from library
Remove triples
Clear repository
RDF quality heuristics
Query
YASGUI SPARQL Editor
Simple Form
SWISH Prolog shell
Help
Documentation
Tutorial
Roadmap
HTTP Services
Login
A.17 library(gensym): Generate unique identifiers
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
The SWI-Prolog library
library(gensym): Generate unique identifiers
gensym/2
reset_gensym/1
reset_gensym/0
Packages
Availability:
:- use_module(
library(gensym)
).
(can be autoloaded)
gensym
(
+Base, -Unique
)
Generate a unique atom from base
Base
and unify it with
Unique
.
Base
should be an atom. The first call will return <
base
>1 , the next <
base
>2 , etc. Note that this is no guarantee that the atom is unique in the system.
ClioPatria
(version
V3.1.1-40-g9d9e003
)