blob: a9b936987ccb804e1ec3e54d08650c32f1bc0e93 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{-# LANGUAGE TypeFamilies, RankNTypes, FlexibleContexts #-}
module T4056 where
import Language.Haskell.TH
astTest :: Q [Dec]
astTest = [d|
class C t where
op :: [t] -> [t]
op = undefined
|]
class D t where
bop :: [t] -> [t]
bop = undefined
|