blob: 99c27e24f49b956e53b6b70f77dfc19c51df1bdc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
{-# LANGUAGE TypeFamilies, UndecidableInstances #-}
module T9554 where
import Data.Proxy
type family F a where
F a = F (F a)
foo :: Proxy (F Bool) -> Proxy (F Int)
foo x = x
main = case foo Proxy of Proxy -> putStrLn "Made it!"
|