validity-containers-0.5.0.5: Validity instances for containers
Safe HaskellNone
LanguageHaskell2010

Data.Validity.IntMap

Documentation

decorateIntMap :: IntMap v -> (v -> Validation) -> Validation Source #

Orphan instances

Validity v => Validity (IntMap v) Source #

A IntMap of things is valid if all the keys and values are valid and the IntMap itself is valid.

Instance details

Methods

validate :: IntMap v -> Validation Source #