Skip to content

Commit 8825fec

Browse files
committed
Fix doctests
1 parent 1736175 commit 8825fec

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
@@ -80,3 +80,10 @@ type HasServerArrowTypeError a b =
8080
instance {-# OVERLAPPABLE #-} TypeError (NoInstanceForSub HasServer ty) => HasServer (ty :> sub) context
8181

8282
instance {-# OVERLAPPABLE #-} TypeError (NoInstanceFor (HasServer api context)) => HasServer api context
83+
84+
-- $setup
85+
-- >>> :set -XDataKinds
86+
-- >>> :set -XTypeOperators
87+
-- >>> import Data.Typeable
88+
-- >>> import Servant.API
89+
-- >>> import Servant.Server

0 commit comments

Comments
 (0)