Data.Monoid.RangedSum
data RangedSum a Source #
Constructors
Fields
Defined in Data.Monoid.RangedSum
Methods
basicUnsafeFreeze :: Mutable Vector s (RangedSum a) -> ST s (Vector (RangedSum a))
basicUnsafeThaw :: Vector (RangedSum a) -> ST s (Mutable Vector s (RangedSum a))
basicLength :: Vector (RangedSum a) -> Int
basicUnsafeSlice :: Int -> Int -> Vector (RangedSum a) -> Vector (RangedSum a)
basicUnsafeIndexM :: Vector (RangedSum a) -> Int -> Box (RangedSum a)
basicUnsafeCopy :: Mutable Vector s (RangedSum a) -> Vector (RangedSum a) -> ST s ()
elemseq :: Vector (RangedSum a) -> RangedSum a -> b -> b
basicLength :: MVector s (RangedSum a) -> Int
basicUnsafeSlice :: Int -> Int -> MVector s (RangedSum a) -> MVector s (RangedSum a)
basicOverlaps :: MVector s (RangedSum a) -> MVector s (RangedSum a) -> Bool
basicUnsafeNew :: Int -> ST s (MVector s (RangedSum a))
basicInitialize :: MVector s (RangedSum a) -> ST s ()
basicUnsafeReplicate :: Int -> RangedSum a -> ST s (MVector s (RangedSum a))
basicUnsafeRead :: MVector s (RangedSum a) -> Int -> ST s (RangedSum a)
basicUnsafeWrite :: MVector s (RangedSum a) -> Int -> RangedSum a -> ST s ()
basicClear :: MVector s (RangedSum a) -> ST s ()
basicSet :: MVector s (RangedSum a) -> RangedSum a -> ST s ()
basicUnsafeCopy :: MVector s (RangedSum a) -> MVector s (RangedSum a) -> ST s ()
basicUnsafeMove :: MVector s (RangedSum a) -> MVector s (RangedSum a) -> ST s ()
basicUnsafeGrow :: MVector s (RangedSum a) -> Int -> ST s (MVector s (RangedSum a))
mempty :: RangedSum a #
mappend :: RangedSum a -> RangedSum a -> RangedSum a #
mconcat :: [RangedSum a] -> RangedSum a #
(<>) :: RangedSum a -> RangedSum a -> RangedSum a #
sconcat :: NonEmpty (RangedSum a) -> RangedSum a #
stimes :: Integral b => b -> RangedSum a -> RangedSum a #
showsPrec :: Int -> RangedSum a -> ShowS #
show :: RangedSum a -> String #
showList :: [RangedSum a] -> ShowS #
(==) :: RangedSum a -> RangedSum a -> Bool #
(/=) :: RangedSum a -> RangedSum a -> Bool #
Defined in Data.SegTree.RangeAddRangeSum
sendo :: Sum a -> RangedSum a -> RangedSum a Source #
Defined in Data.SegTree.RangeAffineRangeSum
sendo :: Affine a -> RangedSum a -> RangedSum a Source #