Removed unnecessary OVERLAPPING/OVERLAPPABLE pragmas
This commit is contained in:
parent
8550926d90
commit
b4372b5c14
2 changed files with 4 additions and 6 deletions
|
@ -242,9 +242,8 @@ instance {-# OVERLAPPING #-}
|
||||||
|
|
||||||
hoistClientMonad _ _ f ma = f ma
|
hoistClientMonad _ _ f ma = f ma
|
||||||
|
|
||||||
instance {-# OVERLAPPING #-}
|
instance (RunClient m, ReflectMethod method) =>
|
||||||
( RunClient m, ReflectMethod method
|
HasClient m (NoContentVerb method) where
|
||||||
) => HasClient m (NoContentVerb method) where
|
|
||||||
type Client m (NoContentVerb method)
|
type Client m (NoContentVerb method)
|
||||||
= m NoContent
|
= m NoContent
|
||||||
clientWithRoute _pm Proxy req = do
|
clientWithRoute _pm Proxy req = do
|
||||||
|
|
|
@ -298,9 +298,8 @@ instance {-# OVERLAPPING #-}
|
||||||
where method = reflectMethod (Proxy :: Proxy method)
|
where method = reflectMethod (Proxy :: Proxy method)
|
||||||
status = toEnum . fromInteger $ natVal (Proxy :: Proxy status)
|
status = toEnum . fromInteger $ natVal (Proxy :: Proxy status)
|
||||||
|
|
||||||
instance {-# OVERLAPPABLE #-}
|
instance (ReflectMethod method) =>
|
||||||
(ReflectMethod method
|
HasServer (NoContentVerb method) context where
|
||||||
) => HasServer (NoContentVerb method) context where
|
|
||||||
|
|
||||||
type ServerT (NoContentVerb method) m = m NoContent
|
type ServerT (NoContentVerb method) m = m NoContent
|
||||||
hoistServerWithContext _ _ nt s = nt s
|
hoistServerWithContext _ _ nt s = nt s
|
||||||
|
|
Loading…
Reference in a new issue