haskpy.typeclasses.foldable¶
Struture that can be squashed
Foldable typeclass |
|
|
(Foldable t, Monoid m) => Monoid -> (a -> m) -> t a -> m |
|
Foldable t => (b -> a -> b) -> b -> t a -> b |
|
Foldable t => (a -> b -> b) -> b -> t a -> b |
|
Foldable t => (a -> (() -> b) -> (() -> b)) -> b -> t a -> b |
|
(Foldable t, Monoid m) => Monoid -> t a -> m |
|
Foldable t => t a -> int |
|
(Foldable t, Num a) => t a -> a |
|
Foldable t => t a -> Bool |
|
(Foldable t, Eq a) => a -> t a -> Bool |