We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aab7e0d commit 75cb9acCopy full SHA for 75cb9ac
servant-server/src/Servant/Server/Internal.hs
@@ -859,6 +859,10 @@ type HasServerArrowTypeError a b =
859
':$$: 'ShowType b
860
861
-- Erroring instances for 'HasServer' for unknown API combinators
862
+
863
+-- XXX: This omits the @context@ parameter, e.g.:
864
+--
865
+-- "There is no instance for HasServer (Bool :> …)". Do we care ?
866
instance {-# OVERLAPPABLE #-} TypeError (NoInstanceForSub HasServer ty) => HasServer (ty :> sub) context
867
868
instance {-# OVERLAPPABLE #-} TypeError (NoInstanceFor (HasServer api context)) => HasServer api context
0 commit comments