-
Notifications
You must be signed in to change notification settings - Fork 264
Add Haskell's Foldable #1099
Copy link
Copy link
Closed
Labels
Description
The results in Algebra.Operations.CommutativeMonoid would really benefit from being proved over a suitable Foldable structure rather than individually for List/Vec/Vector etc.
See https://hackage.haskell.org/package/base-4.12.0.0/docs/Data-Foldable.html
Perhaps someone whose familiar with it, could suggest whether we can leverage dependant types to improve the definition somehow?
Reactions are currently unavailable