blob: a4968ad44420780e0fa0a3c62565a61c29385579 (
plain)
1
2
3
4
5
6
7
8
9
10
|
{-# LANGUAGE QuantifiedConstraints #-}
{-# LANGUAGE TypeFamilies #-}
import GHC.Exts (Constraint)
class (forall a. A t a => A t [a]) => B t where
type A t a :: Constraint
instance B t => B [t] where
type A [t] a = A t a
|