EnumSet

ghc-8.4.4: The GHC API

Safe Haskell | Safe
Language | Haskell2010

EnumSet

Description

A tiny wrapper around `IntSet` for representing sets of `Enum` things.

# Documentation

data EnumSet a #

member :: Enum a => a -> EnumSet a -> Bool #

insert :: Enum a => a -> EnumSet a -> EnumSet a #

delete :: Enum a => a -> EnumSet a -> EnumSet a #

toList :: Enum a => EnumSet a -> [a] #

fromList :: Enum a => [a] -> EnumSet a #

empty :: EnumSet a #