Skip to content

Add Haskell's Foldable #1099

Closed
Closed
@MatthewDaggitt

Description

@MatthewDaggitt

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions