Skip to content

Create max/min methods for Foldable and Reducible #1164

@ceedubs

Description

@ceedubs

We should have methods like maximumOption/minimumOption on Foldable and maximum/minimum on Reducible. The default implementation can simply foldLeft/reduceLeft through the structure and keep track of the max/min. These methods would require an implicit Order instance.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions