diplomacy-0.1.0.0: The board game Diplomacy, spoken in Haskell

Copyright(c) Alexander Vieth, 2015
LicenseBSD3
Maintaineraovieth@gmail.com
Stabilityexperimental
Portabilitynon-portable (GHC only)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.MapUtil

Description

 

Synopsis

Documentation

lookupWithKey :: Ord k => k -> Map k v -> Maybe (k, v) Source

Lookup a key in a map and get back the actual key as well. Useful when the key Eq instance is not quite so sharp.