Skip to content

Instantly share code, notes, and snippets.

@strager
Created June 27, 2013 03:50
Show Gist options
  • Save strager/5873803 to your computer and use it in GitHub Desktop.
Save strager/5873803 to your computer and use it in GitHub Desktop.
{-# LANGUAGE ScopedTypeVariables #-}
f :: forall a. Int => Int
f = undefined
@strager
Copy link
Author

strager commented Jun 27, 2013

This is accepted by the compiler. Note the =>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment