blob: fd86c5cab3dafe000facf5e8250a27a1e7b1aa03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE PolyKinds #-}
{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE UnliftedNewtypes #-}
module T15883d where
import GHC.Exts
newtype Foo rep = MkFoo (forall (a :: TYPE rep). a)
deriving stock instance Show (Foo LiftedRep)
|