Places
Home
Graphs
Prefixes
Admin
Users
Settings
Plugins
Statistics
Repository
Load local file
Load from HTTP
Load from library
Remove triples
Clear repository
Query
YASGUI SPARQL Editor
Simple Form
Help
Documentation
Tutorial
Roadmap
HTTP Services
Login
A.13 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-51-ga0b30a5
)