Skip to content

Commit

Permalink
links: import toUrlPiece to make it clear where it comes from
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Dec 5, 2020
1 parent f7dc40c commit 0bda65e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions servant/src/Servant/Links.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0bda65e

Please sign in to comment.