Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Cons lists
Instances
Foldable Cons Source # | |
Defined in Fresnel.Monoid.Cons fold :: Monoid m => Cons m -> m # foldMap :: Monoid m => (a -> m) -> Cons a -> m # foldMap' :: Monoid m => (a -> m) -> Cons a -> m # foldr :: (a -> b -> b) -> b -> Cons a -> b # foldr' :: (a -> b -> b) -> b -> Cons a -> b # foldl :: (b -> a -> b) -> b -> Cons a -> b # foldl' :: (b -> a -> b) -> b -> Cons a -> b # foldr1 :: (a -> a -> a) -> Cons a -> a # foldl1 :: (a -> a -> a) -> Cons a -> a # elem :: Eq a => a -> Cons a -> Bool # maximum :: Ord a => Cons a -> a # | |
Functor Cons Source # | |
Monoid (Cons a) Source # | |
Semigroup (Cons a) Source # | |
Show a => Show (Cons a) Source # | |