Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Non-empty snoc lists
Instances
Foldable1 Snoc1 Source # | |
Defined in Fresnel.Semigroup.Snoc1 fold1 :: Semigroup m => Snoc1 m -> m # foldMap1 :: Semigroup m => (a -> m) -> Snoc1 a -> m # foldMap1' :: Semigroup m => (a -> m) -> Snoc1 a -> m # toNonEmpty :: Snoc1 a -> NonEmpty a # maximum :: Ord a => Snoc1 a -> a # minimum :: Ord a => Snoc1 a -> a # foldrMap1 :: (a -> b) -> (a -> b -> b) -> Snoc1 a -> b # foldlMap1' :: (a -> b) -> (b -> a -> b) -> Snoc1 a -> b # foldlMap1 :: (a -> b) -> (b -> a -> b) -> Snoc1 a -> b # foldrMap1' :: (a -> b) -> (a -> b -> b) -> Snoc1 a -> b # | |
Functor Snoc1 Source # | |
Foldable Snoc1 Source # | |
Defined in Fresnel.Semigroup.Snoc1 fold :: Monoid m => Snoc1 m -> m # foldMap :: Monoid m => (a -> m) -> Snoc1 a -> m # foldMap' :: Monoid m => (a -> m) -> Snoc1 a -> m # foldr :: (a -> b -> b) -> b -> Snoc1 a -> b # foldr' :: (a -> b -> b) -> b -> Snoc1 a -> b # foldl :: (b -> a -> b) -> b -> Snoc1 a -> b # foldl' :: (b -> a -> b) -> b -> Snoc1 a -> b # foldr1 :: (a -> a -> a) -> Snoc1 a -> a # foldl1 :: (a -> a -> a) -> Snoc1 a -> a # elem :: Eq a => a -> Snoc1 a -> Bool # maximum :: Ord a => Snoc1 a -> a # minimum :: Ord a => Snoc1 a -> a # | |
Semigroup (Snoc1 a) Source # | |
Show a => Show (Snoc1 a) Source # | |