Skip to content

Commit 1b1f188

Browse files
committed
Fix doctests
1 parent 257ff6c commit 1b1f188

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

servant-server/src/Servant/Server/TypeErrors.hs

+7
Original file line numberDiff line numberDiff line change
@@ -97,3 +97,10 @@ instance {-# OVERLAPPABLE #-} TypeError (NoInstanceForSub
9797
HasServer ty) => HasServer (ty :> sub) context
9898

9999
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

Comments
 (0)