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.4.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)
[semidet]
del_min_assoc
(
+Assoc0, ?Key, ?Val, -Assoc
)
True if
Key
-Value is in
Assoc0
and
Key
is the smallest key.
Assoc
is
Assoc0
with
Key
-Value removed. Warning: This will succeed with
no
bindings for
Key
or
Val
if
Assoc0
is empty.
ClioPatria
(version
V3.1.1-40-g9d9e003
)