Last active
July 19, 2018 22:54
-
-
Save glguy/a0e74e9c718a377d70aa0d98fb16a041 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
instance ('(a,b) ~ x, Semigroup b) => Semigroup (ElField x) where | |
Field x <> Field y = Field (x <> y) | |
instance ('(a,b) ~ x, KnownSymbol a, Monoid b) => Monoid (ElField x) where | |
mempty = Field mempty |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment