From 82328247e693b97f822d5fb56095f0ac20b064e3 Mon Sep 17 00:00:00 2001 From: Alp Mestanogullari Date: Fri, 19 Jun 2015 10:29:06 +0200 Subject: [PATCH] Fix doctests for Link/QueryParam --- servant/src/Servant/Utils/Links.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servant/src/Servant/Utils/Links.hs b/servant/src/Servant/Utils/Links.hs index ec6ebbd6..5fa8bd0b 100644 --- a/servant/src/Servant/Utils/Links.hs +++ b/servant/src/Servant/Utils/Links.hs @@ -49,7 +49,7 @@ -- or without those: -- -- >>> let with = Proxy :: Proxy ("bye" :> QueryParam "name" String :> Delete '[JSON] ()) --- >>> print $ safeLink api with "Hubert" +-- >>> print $ safeLink api with (Just "Hubert") -- bye?name=Hubert -- -- >>> let without = Proxy :: Proxy ("bye" :> Delete '[JSON] ())