Merge pull request #806 from vaibhavsagar/fix-typo
typo in servant-server/src/Servant/Server/Internal.hs
This commit is contained in:
commit
885808cd3b
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ instance (HasServer a context, HasServer b context) => HasServer (a :<|> b) cont
|
||||||
where pa = Proxy :: Proxy a
|
where pa = Proxy :: Proxy a
|
||||||
pb = Proxy :: Proxy b
|
pb = Proxy :: Proxy b
|
||||||
|
|
||||||
-- | This is better than 'enter', as it's taylor made for 'HasServer'.
|
-- | This is better than 'enter', as it's tailor made for 'HasServer'.
|
||||||
hoistServer _ pc nt (a :<|> b) =
|
hoistServer _ pc nt (a :<|> b) =
|
||||||
hoistServer (Proxy :: Proxy a) pc nt a :<|>
|
hoistServer (Proxy :: Proxy a) pc nt a :<|>
|
||||||
hoistServer (Proxy :: Proxy b) pc nt b
|
hoistServer (Proxy :: Proxy b) pc nt b
|
||||||
|
|
Loading…
Reference in a new issue