euler-0.1.0.0

Safe HaskellSafe
LanguageHaskell2010

Euler.Util.Map

Synopsis

Documentation

keyWithMaxValue :: Ord a => Map k a -> k Source #

>>> keyWithMaxValue $ Map.fromList [('a', 4), ('b', 12), ('c', 6)]
'b'