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