yaya-containers-0.1.2.0: Pattern functors and instances for types in the containers package.
Safe HaskellSafe
LanguageHaskell2010

Yaya.Containers.Pattern.IntSet

Documentation

data IntSetF r Source #

Constructors

NilF 
TipF Prefix BitMap 
BinF Prefix Mask r r 

Instances

Instances details
Foldable IntSetF Source # 
Instance details

Defined in Yaya.Containers.Pattern.IntSet

Methods

fold :: Monoid m => IntSetF m -> m #

foldMap :: Monoid m => (a -> m) -> IntSetF a -> m #

foldMap' :: Monoid m => (a -> m) -> IntSetF a -> m #

foldr :: (a -> b -> b) -> b -> IntSetF a -> b #

foldr' :: (a -> b -> b) -> b -> IntSetF a -> b #

foldl :: (b -> a -> b) -> b -> IntSetF a -> b #

foldl' :: (b -> a -> b) -> b -> IntSetF a -> b #

foldr1 :: (a -> a -> a) -> IntSetF a -> a #

foldl1 :: (a -> a -> a) -> IntSetF a -> a #

toList :: IntSetF a -> [a] #

null :: IntSetF a -> Bool #

length :: IntSetF a -> Int #

elem :: Eq a => a -> IntSetF a -> Bool #

maximum :: Ord a => IntSetF a -> a #

minimum :: Ord a => IntSetF a -> a #

sum :: Num a => IntSetF a -> a #

product :: Num a => IntSetF a -> a #

Eq1 IntSetF Source # 
Instance details

Defined in Yaya.Containers.Pattern.IntSet

Methods

liftEq :: (a -> b -> Bool) -> IntSetF a -> IntSetF b -> Bool #

Ord1 IntSetF Source # 
Instance details

Defined in Yaya.Containers.Pattern.IntSet

Methods

liftCompare :: (a -> b -> Ordering) -> IntSetF a -> IntSetF b -> Ordering #

Read1 IntSetF Source #

Since: 0.1.2.0

Instance details

Defined in Yaya.Containers.Pattern.IntSet

Methods

liftReadsPrec :: (Int -> ReadS a) -> ReadS [a] -> Int -> ReadS (IntSetF a) #

liftReadList :: (Int -> ReadS a) -> ReadS [a] -> ReadS [IntSetF a] #

liftReadPrec :: ReadPrec a -> ReadPrec [a] -> ReadPrec (IntSetF a) #

liftReadListPrec :: ReadPrec a -> ReadPrec [a] -> ReadPrec [IntSetF a] #

Show1 IntSetF Source # 
Instance details

Defined in Yaya.Containers.Pattern.IntSet

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> IntSetF a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [IntSetF a] -> ShowS #

Traversable IntSetF Source # 
Instance details

Defined in Yaya.Containers.Pattern.IntSet

Methods

traverse :: Applicative f => (a -> f b) -> IntSetF a -> f (IntSetF b) #

sequenceA :: Applicative f => IntSetF (f a) -> f (IntSetF a) #

mapM :: Monad m => (a -> m b) -> IntSetF a -> m (IntSetF b) #

sequence :: Monad m => IntSetF (m a) -> m (IntSetF a) #

Functor IntSetF Source # 
Instance details

Defined in Yaya.Containers.Pattern.IntSet

Methods

fmap :: (a -> b) -> IntSetF a -> IntSetF b #

(<$) :: a -> IntSetF b -> IntSetF a #

Generic1 IntSetF Source # 
Instance details

Defined in Yaya.Containers.Pattern.IntSet

Associated Types

type Rep1 IntSetF :: k -> Type #

Methods

from1 :: forall (a :: k). IntSetF a -> Rep1 IntSetF a #

to1 :: forall (a :: k). Rep1 IntSetF a -> IntSetF a #

Projectable (->) IntSet IntSetF Source # 
Instance details

Defined in Yaya.Containers.Pattern.IntSet

Recursive (->) IntSet IntSetF Source # 
Instance details

Defined in Yaya.Containers.Pattern.IntSet

Methods

cata :: forall (a :: k1). Algebra (->) IntSetF a -> IntSet -> a #

Steppable (->) IntSet IntSetF Source # 
Instance details

Defined in Yaya.Containers.Pattern.IntSet

Methods

embed :: Algebra (->) IntSetF IntSet #

Generic (IntSetF r) Source # 
Instance details

Defined in Yaya.Containers.Pattern.IntSet

Associated Types

type Rep (IntSetF r) :: Type -> Type #

Methods

from :: IntSetF r -> Rep (IntSetF r) x #

to :: Rep (IntSetF r) x -> IntSetF r #

Read r => Read (IntSetF r) Source #

Since: 0.1.2.0

Instance details

Defined in Yaya.Containers.Pattern.IntSet

Show r => Show (IntSetF r) Source # 
Instance details

Defined in Yaya.Containers.Pattern.IntSet

Methods

showsPrec :: Int -> IntSetF r -> ShowS #

show :: IntSetF r -> String #

showList :: [IntSetF r] -> ShowS #

Eq r => Eq (IntSetF r) Source # 
Instance details

Defined in Yaya.Containers.Pattern.IntSet

Methods

(==) :: IntSetF r -> IntSetF r -> Bool #

(/=) :: IntSetF r -> IntSetF r -> Bool #

Ord r => Ord (IntSetF r) Source # 
Instance details

Defined in Yaya.Containers.Pattern.IntSet

Methods

compare :: IntSetF r -> IntSetF r -> Ordering #

(<) :: IntSetF r -> IntSetF r -> Bool #

(<=) :: IntSetF r -> IntSetF r -> Bool #

(>) :: IntSetF r -> IntSetF r -> Bool #

(>=) :: IntSetF r -> IntSetF r -> Bool #

max :: IntSetF r -> IntSetF r -> IntSetF r #

min :: IntSetF r -> IntSetF r -> IntSetF r #

type Rep1 IntSetF Source # 
Instance details

Defined in Yaya.Containers.Pattern.IntSet

type Rep (IntSetF r) Source # 
Instance details

Defined in Yaya.Containers.Pattern.IntSet

Orphan instances

Projectable (->) IntSet IntSetF Source # 
Instance details

Recursive (->) IntSet IntSetF Source # 
Instance details

Methods

cata :: forall (a :: k1). Algebra (->) IntSetF a -> IntSet -> a #

Steppable (->) IntSet IntSetF Source # 
Instance details

Methods

embed :: Algebra (->) IntSetF IntSet #