A representation of a sequence of values of type a, allowing
access to the ends in constant time, and append and split in time
logarithmic in the size of the smaller piece.
The collection is also parameterized by a measure type v, which
is used to specify a position in the sequence for the split operation.
The types of the operations enforce the constraint Measured v a,
which also implies that the type v is determined by a.
A variety of abstract data types can be implemented by using different element types and measurements.
Instances10Measured, Foldable, Eq, Ord, Show, Generic, …
Measured v a => Measured v (FingerTree v a)Defined in fingertree-0.1.6.2 · Data.FingerTreeO(1). The cached measure of a tree.
Foldable (FingerTree v)Defined in fingertree-0.1.6.2 · Data.FingerTreeElements from left to right.
Eq a => Eq (FingerTree v a)Defined in fingertree-0.1.6.2 · Data.FingerTreeOrd a => Ord (FingerTree v a)Defined in fingertree-0.1.6.2 · Data.FingerTreeLexicographical order from left to right.
Show a => Show (FingerTree v a)Defined in fingertree-0.1.6.2 · Data.FingerTreeGeneric (FingerTree v a)Defined in fingertree-0.1.6.2 · Data.FingerTreeMeasured v a => Semigroup (FingerTree v a)Defined in fingertree-0.1.6.2 · Data.FingerTreeMeasured v a => Monoid (FingerTree v a)Defined in fingertree-0.1.6.2 · Data.FingerTree(NFData a, NFData v) => NFData (FingerTree v a)Defined in fingertree-0.1.6.2 · Data.FingerTreetype Rep (FingerTree v a) = D1 ('MetaDataDefined in fingertree-0.1.6.2 · Data.FingerTree"FingerTree"
"Data.FingerTree"
"fingertree-0.1.6.2-3XyR23ghISVIyxrvBYcDXO"
'False) (C1 ('MetaCons"Empty"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"Single"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a)) :+: C1 ('MetaCons"Deep"
'PrefixI 'False) ((S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 v) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Digit a))) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (FingerTree v (Node v a))) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Digit a))))))