Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit fce3a10

Browse files
committedMar 21, 2022
Fix doctests
1 parent 0dd3821 commit fce3a10

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)
Please sign in to comment.