packages feed

ghc-exactprint-0.5.0.0: tests/examples/ghc8/T10642.hs

{-# LANGUAGE TypeFamilies #-}
module T10642 where

import Data.Coerce

type family F a

newtype D a = D (F a)

-- | This works on 7.10.1, but fails on HEAD (20150711)
coerceD :: F a -> D a
coerceD = coerce