We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 257ff6c commit 1b1f188Copy full SHA for 1b1f188
servant-server/src/Servant/Server/TypeErrors.hs
@@ -97,3 +97,10 @@ instance {-# OVERLAPPABLE #-} TypeError (NoInstanceForSub
97
HasServer ty) => HasServer (ty :> sub) context
98
99
instance {-# OVERLAPPABLE #-} TypeError (NoInstanceFor (HasServer api context)) => HasServer api context
100
+
101
+-- $setup
102
+-- >>> :set -XDataKinds
103
+-- >>> :set -XTypeOperators
104
+-- >>> import Data.Typeable
105
+-- >>> import Servant.API
106
+-- >>> import Servant.Server
0 commit comments