packages feed

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

{-# LANGUAGE RoleAnnotations #-}

module T10285a (N, coercion) where

import Data.Type.Coercion

newtype N a = MkN Int
type role N representational

coercion :: Coercion (N a) (N b)
coercion = Coercion