Skip to content

Instantly share code, notes, and snippets.

@rohinp
Created January 17, 2017 08:10
Show Gist options
  • Save rohinp/67690ac1d4e95ba9d5c05609ae30fc47 to your computer and use it in GitHub Desktop.
Save rohinp/67690ac1d4e95ba9d5c05609ae30fc47 to your computer and use it in GitHub Desktop.
trait Monoid[T] {
def associative(t1:T,t2:T):
def zero:T
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment