Copyright | (c) Atze van der Ploeg 2014 |
---|---|
License | BSD-style |
Maintainer | atzeus@gmail.org |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
A catenable qeueue, implemented as a binary tree, with good amortized performance when used ephemerally.
Synopsis
- module Data.SequenceClass
- data BSeq a
Documentation
module Data.SequenceClass
A catenable queue intended for ephemeral use.
Instances
Functor BSeq Source # | |
Foldable BSeq Source # | |
Defined in Data.Sequence.BSeq.Internal fold :: Monoid m => BSeq m -> m # foldMap :: Monoid m => (a -> m) -> BSeq a -> m # foldMap' :: Monoid m => (a -> m) -> BSeq a -> m # foldr :: (a -> b -> b) -> b -> BSeq a -> b # foldr' :: (a -> b -> b) -> b -> BSeq a -> b # foldl :: (b -> a -> b) -> b -> BSeq a -> b # foldl' :: (b -> a -> b) -> b -> BSeq a -> b # foldr1 :: (a -> a -> a) -> BSeq a -> a # foldl1 :: (a -> a -> a) -> BSeq a -> a # elem :: Eq a => a -> BSeq a -> Bool # maximum :: Ord a => BSeq a -> a # | |
Traversable BSeq Source # | |
Show1 BSeq Source # | |
Sequence BSeq Source # | |
Defined in Data.Sequence.BSeq.Internal | |
Eq a => Eq (BSeq a) Source # | |
Ord a => Ord (BSeq a) Source # | |
Read a => Read (BSeq a) Source # | |
Show a => Show (BSeq a) Source # | |
Semigroup (BSeq a) Source # | |
Monoid (BSeq a) Source # | |