Created
May 11, 2021 06:55
-
-
Save forketyfork/3a706bb979abc42e801c0b235c51f17a to your computer and use it in GitHub Desktop.
Code to article "Why You Should Learn Functional Programming: Type Classes vs. Interfaces"
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
class Monoid m where | |
mempty :: m | |
mappend :: m -> m -> m |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment