Skip to content

Add Bounded typeclass #1536

@julien-truffaut

Description

@julien-truffaut
trait Bounded[A] extends Order[A]{
  def minValue: A
  def maxValue: A
}

such as min(a, minValue) == minValue and max(a, maxValue) == maxValue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions