diplomacy-0.2.0.0: Diplomacy board game

Copyright(c) Alexander Vieth 2015
LicenseBSD3
Maintaineraovieth@gmail.com
Stabilityexperimental
Portabilitynon-portable (GHC only)
Safe HaskellSafe
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.