blob: 9dd1f1cb3f11c34d363b17598eaf9b7d431f20af (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
{-# LANGUAGE GADTs #-}
module T5217 where
import Language.Haskell.TH
$([d| data T a b where { T1 :: Int -> T Int Char
; T2 :: a -> T a a
; T3 :: a -> T [a] a
; T4 :: a -> b -> T b [a] } |])
|