on master help sign in
links: import toUrlPiece to make it clear where it comes from
commit0bda65e315587689e99fc5f49eaeb627c66786e7 authorDomen Kožar <domen@dev.si> dateSat 5 Dec 2020, 17:00 (6 years ago) parentf7dc40c
1 file changed+1
servant/src/Servant/Links.hs+1
servant/src/Servant/Links.hs+1
@@ -17,6 +17,7 @@
1717-- >>> :set -XDataKinds -XTypeFamilies -XTypeOperators
1818-- >>> import Servant.API
1919-- >>> import Servant.Links
20+-- >>> import Web.HttpApiData (toUrlPiece)
2021-- >>> import Data.Proxy
2122-- >>>
2223-- >>> type Hello = "hello" :> Get '[JSON] Int