Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
A Foldable
instance for functions, given the input is Finite
, and
a Traversable
instance for functions, given the input is Ord
and
Finite
.
Orphan instances
Finite e => Foldable ((->) e :: Type -> Type) Source # | |
fold :: Monoid m => (e -> m) -> m # foldMap :: Monoid m => (a -> m) -> (e -> a) -> m # foldMap' :: Monoid m => (a -> m) -> (e -> a) -> m # foldr :: (a -> b -> b) -> b -> (e -> a) -> b # foldr' :: (a -> b -> b) -> b -> (e -> a) -> b # foldl :: (b -> a -> b) -> b -> (e -> a) -> b # foldl' :: (b -> a -> b) -> b -> (e -> a) -> b # foldr1 :: (a -> a -> a) -> (e -> a) -> a # foldl1 :: (a -> a -> a) -> (e -> a) -> a # elem :: Eq a => a -> (e -> a) -> Bool # maximum :: Ord a => (e -> a) -> a # minimum :: Ord a => (e -> a) -> a # | |
(Ord e, Finite e) => Traversable ((->) e :: Type -> Type) Source # | |