@@ -169,7 +169,7 @@ class (AllMime list) => AllCTRender (list :: [*]) a where
169 handleAcceptH :: Proxy list -> AcceptHeader -> a -> Maybe (ByteString, ByteString)
169 handleAcceptH :: Proxy list -> AcceptHeader -> a -> Maybe (ByteString, ByteString)
171instance OVERLAPPABLE_
171instance OVERLAPPABLE_
172− (AllMimeRender (ct ': cts) a) => AllCTRender (ct ': cts) a where
172+ (Accept ct, AllMime cts, AllMimeRender (ct ': cts) a) => AllCTRender (ct ': cts) a where
173 handleAcceptH _ (AcceptHeader accept) val = M.mapAcceptMedia lkup accept
173 handleAcceptH _ (AcceptHeader accept) val = M.mapAcceptMedia lkup accept
174 where pctyps = Proxy :: Proxy (ct ': cts)
174 where pctyps = Proxy :: Proxy (ct ': cts)
175 amrs = allMimeRender pctyps val
175 amrs = allMimeRender pctyps val