Created
September 7, 2015 11:50
-
-
Save nagisa/3678f5e5ba31024435ae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trait Monoid<T> { | |
let zero : T; | |
// Arbitrary 2 argument functions may be used as binary operators | |
let `+` : T → T → T; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment