Merge pull request #806 from vaibhavsagar/fix-typo

typo in servant-server/src/Servant/Server/Internal.hs
This commit is contained in:
Alp Mestanogullari 2017-09-17 14:15:02 +02:00 committed by GitHub
commit 885808cd3b

View File

@ -117,7 +117,7 @@ instance (HasServer a context, HasServer b context) => HasServer (a :<|> b) cont
where pa = Proxy :: Proxy a
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 (Proxy :: Proxy a) pc nt a :<|>
hoistServer (Proxy :: Proxy b) pc nt b