[ library(m_map) | Reference Manual | Alphabetic Index ]

from_assoc_list(+AssocList, -Map)

Converts an association list into a map.
AssocList
A list of key-value pairs
Map
A map

Description

AssocList is a list of key/value pairs of the form Key-Value, and Map is a map containing these key/value pairs. If a key appears more than once in AssocList, then its corresponding value in the map Map will be the last one appearing in AssocList.

Fail Conditions

Never fails.

Resatisfiable

no

See Also

to_assoc_list / 2, from_sorted_assoc_list / 2