From 0bda65e315587689e99fc5f49eaeb627c66786e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Sat, 5 Dec 2020 17:00:03 +0100 Subject: [PATCH] links: import toUrlPiece to make it clear where it comes from --- servant/src/Servant/Links.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/servant/src/Servant/Links.hs b/servant/src/Servant/Links.hs index 39a228d7..cdafb310 100644 --- a/servant/src/Servant/Links.hs +++ b/servant/src/Servant/Links.hs @@ -17,6 +17,7 @@ -- >>> :set -XDataKinds -XTypeFamilies -XTypeOperators -- >>> import Servant.API -- >>> import Servant.Links +-- >>> import Web.HttpApiData (toUrlPiece) -- >>> import Data.Proxy -- >>> -- >>> type Hello = "hello" :> Get '[JSON] Int