Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in foldable

Writing a foldMap in Haskell

haskell functor foldable

Why can't I do `null (Just 5)` in Haskell?

Why Monoid is not a requirement for foldr/foldl?

haskell fold monoids foldable

Is there an equivalent to head/tail for Foldable functors in general?

Is there anything we lose with MonoFoldable?

No instance for Foldable arising from length inside lambda

haskell lambda foldable

Foldable IntSet

haskell set foldable

Are there laws for the Foldable typeclass that constrain how Foldable instances can be derived?

haskell deriving foldable

Why is this implementation a bad instance of the Foldable Typeclass?

Can I write `foldr` (or `foldMap`) in terms of 'recursion schemes' `cata`?

What does Traversable is to Applicative contexts mean?

Why in Haskell maximum (8,1) = 1? [duplicate]

haskell max foldable

Why does mconcat require a list rather than a Foldable?

haskell monoids foldable

Why isn't sum == foldl1 (+)?

haskell matrix sum fold foldable

Could it be that (Alternative f, Foldable f) => Monad f?

How can I express foldr in terms of foldMap for type-aligned sequences?

How does Traversable use the fact that it subclasses both Foldable and Functor?

Foldable vs Traversable

Why does `fmap sum Just` typecheck?

haskell functor foldable