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
|
||||
|
||||
instance {-# OVERLAPPING #-}
|
||||
( RunClient m, ReflectMethod method
|
||||
) => HasClient m (NoContentVerb method) where
|
||||
instance (RunClient m, ReflectMethod method) =>
|
||||
HasClient m (NoContentVerb method) where
|
||||
type Client m (NoContentVerb method)
|
||||
= m NoContent
|
||||
clientWithRoute _pm Proxy req = do
|
||||
|
|
|
@ -298,9 +298,8 @@ instance {-# OVERLAPPING #-}
|
|||
where method = reflectMethod (Proxy :: Proxy method)
|
||||
status = toEnum . fromInteger $ natVal (Proxy :: Proxy status)
|
||||
|
||||
instance {-# OVERLAPPABLE #-}
|
||||
(ReflectMethod method
|
||||
) => HasServer (NoContentVerb method) context where
|
||||
instance (ReflectMethod method) =>
|
||||
HasServer (NoContentVerb method) context where
|
||||
|
||||
type ServerT (NoContentVerb method) m = m NoContent
|
||||
hoistServerWithContext _ _ nt s = nt s
|
||||
|
|
Loading…
Reference in a new issue