rio-0.1.18.0: A standard library for Haskell

Safe HaskellSafe
LanguageHaskell2010

RIO.HashMap.Partial

Contents

Description

Strict HashMap partial functions. Import as:

import qualified RIO.HashMap.Partial as HM'
Synopsis

Basic interface

(!) :: (Eq k, Hashable k, HasCallStack) => HashMap k v -> k -> v infixl 9 #

O(log n) Return the value to which the specified key is mapped. Calls error if this map contains no mapping for the key.