You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
People are working on Foldable properties. This is one of the exceptions to there needing to conform to properties.
PureScript's Foldable doesn't mention properties, but Haskell's does:
foldr f z t = appEndo (foldMap (Endo. f) t ) z
foldl f z t = appEndo (getDual (foldMap (Dual.Endo.flip f) t)) z
fold =foldMapidlength= getSum .foldMap (Sum.const1)
From
Foldable
documentation:PureScript's
Foldable
doesn't mention properties, but Haskell's does:Documenting other useful sources found:
Foldable
lawsThe text was updated successfully, but these errors were encountered: