Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
class (Int r, Map r) => Bimap r where Source #
size :: r h (Bimap a b -> Int) Source #
lookupL :: (Ord a, Ord b) => r h (Bimap a b -> a -> Maybe b) Source #
lookupR :: (Ord a, Ord b) => r h (Bimap a b -> b -> Maybe a) Source #
empty :: r h (Bimap a b) Source #
singleton :: r h ((a, b) -> Bimap a b) Source #
toMapL :: r h (Bimap a b -> Map a b) Source #
toMapR :: r h (Bimap a b -> Map b a) Source #
insert :: (Ord a, Ord b) => r h ((a, b) -> Bimap a b -> Bimap a b) Source #
updateL :: (Ord a, Ord b) => r h ((b -> Maybe b) -> a -> Bimap a b -> Bimap a b) Source #
updateR :: (Ord a, Ord b) => r h ((a -> Maybe a) -> b -> Bimap a b -> Bimap a b) Source #
module DDF.Prod
module DDF.Option