Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
class Iso i a b | i a -> b, i b -> a where Source #
(~$) :: MonadFail m => i -> a -> m b infixr 1 Source #
(~&) :: MonadFail m => a -> i -> m b infixr 1 Source #
member :: a -> i -> Bool Source #
filter :: (a -> Bool) -> i -> i Source #
insert :: MonadFail m => (a, b) -> i -> m i Source #
delete :: a -> i -> i Source #
toMap :: i -> Map a b Source #
fromList :: MonadFail m => [(a, b)] -> m i Source #
fromList' :: [(a, b)] -> i Source #