iota-0.1.0.0
Safe HaskellSafe-Inferred
LanguageGHC2021

Data.Monoid.LastMax

Documentation

newtype LastMax a Source #

Constructors

LastMax a 

Instances

Instances details
Unbox a => Vector Vector (LastMax a) Source # 
Instance details

Defined in Data.Monoid.LastMax

Methods

basicUnsafeFreeze :: Mutable Vector s (LastMax a) -> ST s (Vector (LastMax a))

basicUnsafeThaw :: Vector (LastMax a) -> ST s (Mutable Vector s (LastMax a))

basicLength :: Vector (LastMax a) -> Int

basicUnsafeSlice :: Int -> Int -> Vector (LastMax a) -> Vector (LastMax a)

basicUnsafeIndexM :: Vector (LastMax a) -> Int -> Box (LastMax a)

basicUnsafeCopy :: Mutable Vector s (LastMax a) -> Vector (LastMax a) -> ST s ()

elemseq :: Vector (LastMax a) -> LastMax a -> b -> b

Unbox a => MVector MVector (LastMax a) Source # 
Instance details

Defined in Data.Monoid.LastMax

Methods

basicLength :: MVector s (LastMax a) -> Int

basicUnsafeSlice :: Int -> Int -> MVector s (LastMax a) -> MVector s (LastMax a)

basicOverlaps :: MVector s (LastMax a) -> MVector s (LastMax a) -> Bool

basicUnsafeNew :: Int -> ST s (MVector s (LastMax a))

basicInitialize :: MVector s (LastMax a) -> ST s ()

basicUnsafeReplicate :: Int -> LastMax a -> ST s (MVector s (LastMax a))

basicUnsafeRead :: MVector s (LastMax a) -> Int -> ST s (LastMax a)

basicUnsafeWrite :: MVector s (LastMax a) -> Int -> LastMax a -> ST s ()

basicClear :: MVector s (LastMax a) -> ST s ()

basicSet :: MVector s (LastMax a) -> LastMax a -> ST s ()

basicUnsafeCopy :: MVector s (LastMax a) -> MVector s (LastMax a) -> ST s ()

basicUnsafeMove :: MVector s (LastMax a) -> MVector s (LastMax a) -> ST s ()

basicUnsafeGrow :: MVector s (LastMax a) -> Int -> ST s (MVector s (LastMax a))

(Eq a, Bounded a) => Monoid (LastMax a) Source # 
Instance details

Defined in Data.Monoid.LastMax

Methods

mempty :: LastMax a #

mappend :: LastMax a -> LastMax a -> LastMax a #

mconcat :: [LastMax a] -> LastMax a #

(Eq a, Bounded a) => Semigroup (LastMax a) Source # 
Instance details

Defined in Data.Monoid.LastMax

Methods

(<>) :: LastMax a -> LastMax a -> LastMax a #

sconcat :: NonEmpty (LastMax a) -> LastMax a #

stimes :: Integral b => b -> LastMax a -> LastMax a #

Bounded a => Bounded (LastMax a) Source # 
Instance details

Defined in Data.Monoid.LastMax

Show a => Show (LastMax a) Source # 
Instance details

Defined in Data.Monoid.LastMax

Methods

showsPrec :: Int -> LastMax a -> ShowS #

show :: LastMax a -> String #

showList :: [LastMax a] -> ShowS #

Eq a => Eq (LastMax a) Source # 
Instance details

Defined in Data.Monoid.LastMax

Methods

(==) :: LastMax a -> LastMax a -> Bool #

(/=) :: LastMax a -> LastMax a -> Bool #

Unbox a => Unbox (LastMax a) Source # 
Instance details

Defined in Data.Monoid.LastMax

(Ord a, Bounded a) => AsSemigroupEndo (Dual (LastMax a)) (Max a) Source # 
Instance details

Defined in Data.SegTree.RangeUpdateRangeMax

Methods

sendo :: Dual (LastMax a) -> Max a -> Max a Source #

newtype MVector s (LastMax a) Source # 
Instance details

Defined in Data.Monoid.LastMax

newtype MVector s (LastMax a) = MV_LastMax (MVector s a)
newtype Vector (LastMax a) Source # 
Instance details

Defined in Data.Monoid.LastMax

newtype Vector (LastMax a) = V_LastMax (Vector a)