Fix doctests
This commit is contained in:
parent
b7625a8039
commit
e32b28c7c4
1 changed files with 7 additions and 0 deletions
|
@ -97,3 +97,10 @@ instance {-# OVERLAPPABLE #-} TypeError (NoInstanceForSub
|
||||||
HasServer ty) => HasServer (ty :> sub) context
|
HasServer ty) => HasServer (ty :> sub) context
|
||||||
|
|
||||||
instance {-# OVERLAPPABLE #-} TypeError (NoInstanceFor (HasServer api context)) => HasServer api 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
|
||||||
|
|
Loading…
Reference in a new issue