Skip to content
This repository was archived by the owner on Feb 8, 2022. It is now read-only.
This repository was archived by the owner on Feb 8, 2022. It is now read-only.

add Kleene Algebra #169

Description

@johnynek

https://en.wikipedia.org/wiki/Kleene_algebra

This is always fun. We could have a method to get the BoundedSemilattice from the + operation.

I guess this extends Rig. So something like:

trait KleeneAlgebra[A] extends Rig[A] {
  def star(a: A): A
  def additiveSemilattice: BoundedSemilattice[A]
}

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