summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T9201.hs
blob: 7702fa369c1e9652e3f29c3f8f8a484c68d4993a (plain)
1
2
3
4
5
6
{-# LANGUAGE PolyKinds, FunctionalDependencies, MultiParamTypeClasses #-}

module T9201 where

class MonoidalCCC (f :: x -> y) (d :: y -> y -> *) | f -> d where
  ret :: d a (f a)