summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-api/annotations/Test16212.hs
blob: da7e322307f535e687c259d624b0f0ea6ef67687 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
module Test16212 where

class LiftingMonad  (trans :: MTrans) where
  proof :: Monad m :- Monad (trans m)

class LiftingMonad2  ((trans :: MTrans)) where
  proof :: Monad m :- Monad (trans m)

data Nat (t :: NatKind) where
    ZeroNat :: Nat Zero
    SuccNat :: Nat t -> Nat (Succ t)

data Foo (a) b = Foo { av :: a, bv :: b }