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
SWISH Prolog shell
Help
Documentation
Tutorial
Roadmap
HTTP Services
Login
A.3.4 Modifying association lists
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
The SWI-Prolog library
library(assoc): Association lists
Modifying association lists
put_assoc/4
del_assoc/4
del_min_assoc/4
del_max_assoc/4
Packages
Availability:
:- use_module(
library(assoc)
).
(can be autoloaded)
[det]
put_assoc
(
+Key, +Assoc0, +Value, -Assoc
)
Assoc
is
Assoc0
, except that
Key
is associated with
Value
. This can be used to insert and change associations.
ClioPatria
(version
V3.1.1-21-gb8003bb
)