Skip to content

Instantly share code, notes, and snippets.

@evaporei
Created September 13, 2019 19:46
Show Gist options
  • Select an option

  • Save evaporei/5a557379d3722f9b201262dd8bd2e02a to your computer and use it in GitHub Desktop.

Select an option

Save evaporei/5a557379d3722f9b201262dd8bd2e02a to your computer and use it in GitHub Desktop.
Category Theory - Monoids
interface Monoid<M> {
mappend(x: M): M // operação binária
mempty(): M // elemento neutro
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment