Created
August 22, 2013 00:59
-
-
Save nh2/6302087 to your computer and use it in GitHub Desktop.
GHC 7.7 conflicting (a -> a) vs (a -> a -> a) type families
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
{-# LANGUAGE TypeFamilies #-} | |
module Test where | |
type family BoundsOf x | |
type instance BoundsOf (a->a) = Int | |
type instance BoundsOf (a->a->a) = (Int,Int) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment