Safe Haskell | Safe |
---|---|

Language | Haskell2010 |

# Documentation

fold :: Monoid (Elem set) => set -> Elem set Source #

foldMap :: Monoid a => (Elem set -> a) -> set -> a Source #

foldr :: (Elem set -> a -> a) -> a -> set -> a Source #

foldl :: (a -> Elem set -> a) -> a -> set -> a Source #

toList :: set -> [Elem set] Source #

Deprecated: use `size`

mapMaybe :: (Elem set -> Maybe (Elem set)) -> set -> set Source #

mapEither :: (Elem set -> Either (Elem set) (Elem set)) -> set -> (set, set) Source #

filter :: (Elem set -> Bool) -> set -> set Source #

member :: Elem set -> set -> Bool Source #

fromList :: [Elem set] -> set Source #

insert :: Elem set -> set -> set Source #

delete :: Elem set -> set -> set Source #

singleton :: Elem set -> set Source #

union :: set -> set -> set Source #

intersection :: set -> set -> set Source #

difference :: set -> set -> set Source #

symmetricDifference :: set -> set -> set Source #