Skip to content

Commit

Permalink
Fix doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
nbacquey committed Nov 23, 2022
1 parent b7625a8 commit e32b28c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions servant-server/src/Servant/Server/TypeErrors.hs
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,10 @@ instance {-# OVERLAPPABLE #-} TypeError (NoInstanceForSub
HasServer ty) => HasServer (ty :> sub) context

instance {-# OVERLAPPABLE #-} TypeError (NoInstanceFor (HasServer api context)) => HasServer api context

-- $setup
-- >>> :set -XDataKinds
-- >>> :set -XTypeOperators
-- >>> import Data.Typeable
-- >>> import Servant.API
-- >>> import Servant.Server

0 comments on commit e32b28c

Please sign in to comment.