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 9b4716f commit 72ea4dfCopy full SHA for 72ea4df
servant-server/src/Servant/Server/TypeErrors.hs
@@ -89,3 +89,10 @@ instance {-# OVERLAPPABLE #-} TypeError (NoInstanceForSub
89
HasServer ty) => HasServer (ty :> sub) context
90
91
instance {-# OVERLAPPABLE #-} TypeError (NoInstanceFor (HasServer api context)) => HasServer api context
92
+
93
+-- $setup
94
+-- >>> :set -XDataKinds
95
+-- >>> :set -XTypeOperators
96
+-- >>> import Data.Typeable
97
+-- >>> import Servant.API
98
+-- >>> import Servant.Server
0 commit comments