Make servant compilable with GHC8
This commit is contained in:
parent
fbf7c02d73
commit
a266965051
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ class (AllMime list) => AllCTRender (list :: [*]) a where
|
||||||
handleAcceptH :: Proxy list -> AcceptHeader -> a -> Maybe (ByteString, ByteString)
|
handleAcceptH :: Proxy list -> AcceptHeader -> a -> Maybe (ByteString, ByteString)
|
||||||
|
|
||||||
instance OVERLAPPABLE_
|
instance OVERLAPPABLE_
|
||||||
(AllMimeRender (ct ': cts) a) => AllCTRender (ct ': cts) a where
|
(Accept ct, AllMime cts, AllMimeRender (ct ': cts) a) => AllCTRender (ct ': cts) a where
|
||||||
handleAcceptH _ (AcceptHeader accept) val = M.mapAcceptMedia lkup accept
|
handleAcceptH _ (AcceptHeader accept) val = M.mapAcceptMedia lkup accept
|
||||||
where pctyps = Proxy :: Proxy (ct ': cts)
|
where pctyps = Proxy :: Proxy (ct ': cts)
|
||||||
amrs = allMimeRender pctyps val
|
amrs = allMimeRender pctyps val
|
||||||
|
|
Loading…
Reference in a new issue