monad-memo-0.4.1: Memoization monad transformer

Copyright(c) Eduard Sergeev 2011
LicenseBSD-style (see the file LICENSE)
Maintainereduard.sergeev@gmail.com
Stabilityexperimental
Portabilitynon-portable (multi-param classes, functional dependencies)
Safe HaskellSafe
LanguageHaskell98

Data.MapLike

Description

Defines MapLike typeclass - generalized interface to Data.Map, Data.HashMap etc.

Synopsis

Documentation

class MapLike c k v | c -> k, c -> v where #

An abstract interface to the container which can store v indexed by k

Minimal complete definition

lookup, add

Methods

lookup :: k -> c -> Maybe v #

add :: k -> v -> c -> c #