links: import toUrlPiece to make it clear where it comes from

This commit is contained in:
Domen Kožar 2020-12-05 17:00:03 +01:00
parent f7dc40ca8d
commit 0bda65e315
No known key found for this signature in database
GPG Key ID: C2FFBCAFD2C24246

View File

@ -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