vt-utils-1.1.0.0: Vector and Text utilities

Safe HaskellSafe
LanguageHaskell2010

VtUtils.Map

Description

HashMap utilities

Synopsis

Documentation

mapGet :: HashMap Text v -> Text -> v Source #

Lookups a key in a HashMap

Throws an error if key not found in a specified HashMap

Arguments:

  • map :: HashMap Text v: Map with Text keys
  • key :: Text: Key to lookup

Return value: Map value that corresponds to the specified key