on master help sign in
links: import toUrlPiece to make it clear where it comes from
0bda65eDomen Kožar
servant/src/Servant/Links.hs+1
@@ -17,6 +17,7 @@
17-- >>> :set -XDataKinds -XTypeFamilies -XTypeOperators
17-- >>> :set -XDataKinds -XTypeFamilies -XTypeOperators
18-- >>> import Servant.API
18-- >>> import Servant.API
19-- >>> import Servant.Links
19-- >>> import Servant.Links
20+-- >>> import Web.HttpApiData (toUrlPiece)
20-- >>> import Data.Proxy
21-- >>> import Data.Proxy
21-- >>>
22-- >>>
22-- >>> type Hello = "hello" :> Get '[JSON] Int
23-- >>> type Hello = "hello" :> Get '[JSON] Int