Home
Download
Browse GIT
Contrib
Packs
HOWTO
FAQ
Manual
Tags
Mailinglist
Support
Links
Contact
Development tools
PlDoc Documentation
Graphics
(Semantic) Web
Publications
Contributors
License
Wiki (edit)
login
A.18 library(pairs): Operations on key-value lists
All
Application
Manual
Name
Summary
Help
Availability:
:- use_module(
library(pairs)
).
(can be autoloaded)
map_list_to_pairs
(
:Function, +List, -Keyed
)
Create a Key-Value list by mapping each element of
List
. For example, if we have a list of lists we can create a list of Length-
List
using
map_list_to_pairs(length, ListOfLists, Pairs),
Tags are associated to your profile if you are logged in
login
to add a comment