blob: 5756fcc51301c391b27d71e09d66faedce27400c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{-# LANGUAGE UnicodeSyntax #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeFamilies #-}
module T5886a where
import Language.Haskell.TH hiding (Type)
import Data.Kind (Type)
class C α where
type AT α ∷ Type
bang ∷ DecsQ
bang = return [InstanceD Nothing [] (AppT (ConT ''C) (ConT ''Int))
[TySynInstD ''AT (TySynEqn Nothing [ConT ''Int] (ConT ''Int))]]
|