summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/indexed-types/should_compile/T4356.hs
blob: 400314eeb234dceb16c9da32291d90e6f775390d (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE TypeFamilies #-}
module T4356 where

type family T t :: * -> * -> *
type instance T Bool = (->)

f :: T Bool Bool Bool
f = not