let dict = Dict.fromList [("key1", "value1"), ("key2", "value2")]
To insert an element: let dict' = Dict.insert "key3" "value3" dict
To find an item:
case Dict.get "key1" dict of Just value -> ... -- do something with value Nothing -> ... -- no such value in dict
source share