ghc-lib-parser-8.10.1.20200412: The GHC API, decoupled from GHC versions

Safe HaskellSafe
LanguageHaskell2010

EnumSet

Description

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

Documentation

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

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

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

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

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