Copyright | (C) Frank Staals |
---|---|
License | see the LICENSE file |
Maintainer | Frank Staals |
Safe Haskell | None |
Language | GHC2021 |
Synopsis
- data ViewL1 a = a :<< (Seq a)
- data ViewR1 a = (Seq a) :>> a
- viewl1 :: ViewR1 a -> ViewL1 a
- viewr1 :: ViewL1 a -> ViewR1 a
- (|>>) :: ViewR1 a -> a -> ViewR1 a
- (<>>) :: ViewR1 a -> Seq a -> ViewR1 a
- splitL1At :: Int -> ViewL1 a -> Maybe (Seq a, a, Seq a)
- splitR1At :: Int -> ViewR1 a -> Maybe (Seq a, a, Seq a)
Documentation
NonEmpty ViewL
Instances
NonEmpty ViewR
Instances
Foldable1 ViewR1 Source # | |||||
Defined in HGeometry.Sequence.NonEmpty fold1 :: Semigroup m => ViewR1 m -> m # foldMap1 :: Semigroup m => (a -> m) -> ViewR1 a -> m # foldMap1' :: Semigroup m => (a -> m) -> ViewR1 a -> m # toNonEmpty :: ViewR1 a -> NonEmpty a # maximum :: Ord a => ViewR1 a -> a # minimum :: Ord a => ViewR1 a -> a # foldrMap1 :: (a -> b) -> (a -> b -> b) -> ViewR1 a -> b # foldlMap1' :: (a -> b) -> (b -> a -> b) -> ViewR1 a -> b # foldlMap1 :: (a -> b) -> (b -> a -> b) -> ViewR1 a -> b # foldrMap1' :: (a -> b) -> (a -> b -> b) -> ViewR1 a -> b # | |||||
Functor ViewR1 Source # | |||||
Foldable ViewR1 Source # | |||||
Defined in HGeometry.Sequence.NonEmpty fold :: Monoid m => ViewR1 m -> m # foldMap :: Monoid m => (a -> m) -> ViewR1 a -> m # foldMap' :: Monoid m => (a -> m) -> ViewR1 a -> m # foldr :: (a -> b -> b) -> b -> ViewR1 a -> b # foldr' :: (a -> b -> b) -> b -> ViewR1 a -> b # foldl :: (b -> a -> b) -> b -> ViewR1 a -> b # foldl' :: (b -> a -> b) -> b -> ViewR1 a -> b # foldr1 :: (a -> a -> a) -> ViewR1 a -> a # foldl1 :: (a -> a -> a) -> ViewR1 a -> a # elem :: Eq a => a -> ViewR1 a -> Bool # maximum :: Ord a => ViewR1 a -> a # minimum :: Ord a => ViewR1 a -> a # | |||||
Traversable ViewR1 Source # | |||||
HasFromFoldable1 ViewR1 Source # | |||||
Defined in HGeometry.Sequence.NonEmpty fromFoldable1 :: Foldable1 g => g a -> ViewR1 a Source # fromNonEmpty :: NonEmpty a -> ViewR1 a Source # | |||||
Traversable1 ViewR1 Source # | |||||
Foldable1WithIndex Int ViewR1 Source # | |||||
Defined in HGeometry.Sequence.NonEmpty ifoldMap1 :: Semigroup m => (Int -> a -> m) -> ViewR1 a -> m Source # ifoldMap1' :: Semigroup m => (Int -> a -> m) -> ViewR1 a -> m Source # ifoldrMap1 :: (Int -> a -> b) -> (Int -> a -> b -> b) -> ViewR1 a -> b Source # ifoldlMap1' :: (Int -> a -> b) -> (Int -> b -> a -> b) -> ViewR1 a -> b Source # ifoldlMap1 :: (Int -> a -> b) -> (Int -> b -> a -> b) -> ViewR1 a -> b Source # ifoldrMap1' :: (Int -> a -> b) -> (Int -> a -> b -> b) -> ViewR1 a -> b Source # | |||||
FoldableWithIndex Int ViewR1 Source # | |||||
Defined in HGeometry.Sequence.NonEmpty ifoldMap :: Monoid m => (Int -> a -> m) -> ViewR1 a -> m Source # ifoldMap' :: Monoid m => (Int -> a -> m) -> ViewR1 a -> m Source # ifoldr :: (Int -> a -> b -> b) -> b -> ViewR1 a -> b Source # ifoldl :: (Int -> b -> a -> b) -> b -> ViewR1 a -> b Source # ifoldr' :: (Int -> a -> b -> b) -> b -> ViewR1 a -> b Source # ifoldl' :: (Int -> b -> a -> b) -> b -> ViewR1 a -> b Source # | |||||
FunctorWithIndex Int ViewR1 Source # | |||||
TraversableWithIndex Int ViewR1 Source # | |||||
Defined in HGeometry.Sequence.NonEmpty | |||||
NFData a => NFData (ViewR1 a) Source # | |||||
Defined in HGeometry.Sequence.NonEmpty | |||||
Semigroup (ViewR1 a) Source # | |||||
Generic (ViewR1 a) Source # | |||||
Defined in HGeometry.Sequence.NonEmpty
| |||||
IsList (ViewR1 a) Source # | |||||
Read a => Read (ViewR1 a) Source # | |||||
Show a => Show (ViewR1 a) Source # | |||||
Eq a => Eq (ViewR1 a) Source # | |||||
Ord a => Ord (ViewR1 a) Source # | |||||
Defined in HGeometry.Sequence.NonEmpty | |||||
Ixed (ViewR1 a) Source # | |||||
Defined in HGeometry.Sequence.NonEmpty | |||||
Reversing (ViewR1 a) Source # | |||||
type Rep (ViewR1 a) Source # | |||||
Defined in HGeometry.Sequence.NonEmpty type Rep (ViewR1 a) = D1 ('MetaData "ViewR1" "HGeometry.Sequence.NonEmpty" "hgeometry-combinatorial-1.0.0.0-inplace" 'False) (C1 ('MetaCons ":>>" ('InfixI 'LeftAssociative 9) 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Seq a)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a))) | |||||
type Item (ViewR1 a) Source # | |||||
Defined in HGeometry.Sequence.NonEmpty | |||||
type Index (ViewR1 a) Source # | |||||
Defined in HGeometry.Sequence.NonEmpty | |||||
type IxValue (ViewR1 a) Source # | |||||
Defined in HGeometry.Sequence.NonEmpty |