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

from_sorted_assoc_list(+AssocList, -Map)

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

Description

AssocList is a sorted 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_sorted_assoc_list / 2, from_assoc_list / 2