| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Mikan.Utils.BoolSet
Description
Synopsis
- data BoolSet
- null :: BoolSet -> Bool
- size :: BoolSet -> Int
- member :: Bool -> BoolSet -> Bool
- notMember :: Bool -> BoolSet -> Bool
- isSubsetOf :: BoolSet -> BoolSet -> Bool
- lookupMin :: BoolSet -> Maybe Bool
- toSingleton :: BoolSet -> Maybe Bool
- empty :: BoolSet
- total :: BoolSet
- singleton :: Bool -> BoolSet
- insert :: Bool -> BoolSet -> BoolSet
- delete :: Bool -> BoolSet -> BoolSet
- (\\) :: BoolSet -> BoolSet -> BoolSet
- complement :: BoolSet -> BoolSet
- difference :: BoolSet -> BoolSet -> BoolSet
- intersection :: BoolSet -> BoolSet -> BoolSet
- union :: BoolSet -> BoolSet -> BoolSet
- elems :: BoolSet -> [Bool]
- fromList :: [Bool] -> BoolSet
- fromAscList :: [Bool] -> BoolSet
- fromDistinctAscList :: [Bool] -> BoolSet
- toList :: BoolSet -> [Bool]
- toAscList :: BoolSet -> [Bool]
Documentation
Instances
| Bounded BoolSet Source # | |
| Enum BoolSet Source # | |
| Show BoolSet Source # | |
| Eq BoolSet Source # | |
| Ord BoolSet Source # | |
Queries
Construction
Combining
complement :: BoolSet -> BoolSet Source #
Conversion
fromAscList :: [Bool] -> BoolSet Source #
fromDistinctAscList :: [Bool] -> BoolSet Source #