Skip to content

Instantly share code, notes, and snippets.

@justinhj
Created December 10, 2019 04:16
Show Gist options
  • Save justinhj/2aa4d976f7c90df036028086c9b7e638 to your computer and use it in GitHub Desktop.
Save justinhj/2aa4d976f7c90df036028086c9b7e638 to your computer and use it in GitHub Desktop.
trait Monoid[A] extends Semigroup[A] {
def empty: A
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment