Created
February 5, 2016 17:51
-
-
Save Solonarv/04a9dfaaf71af8e7c322 to your computer and use it in GitHub Desktop.
Transformation exposing typeclass dictionaries
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
data FooDict a = FooDict { | |
foo :: a -> Int | |
bar :: a -> [()] | |
} |
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 Foo a where | |
foo :: a -> Int | |
bar :: a -> [()] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment