Skip to content

Instantly share code, notes, and snippets.

@Solonarv
Created February 5, 2016 17:51
Show Gist options
  • Save Solonarv/04a9dfaaf71af8e7c322 to your computer and use it in GitHub Desktop.
Save Solonarv/04a9dfaaf71af8e7c322 to your computer and use it in GitHub Desktop.
Transformation exposing typeclass dictionaries
data FooDict a = FooDict {
foo :: a -> Int
bar :: a -> [()]
}
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