on master help sign in
Add since annotation for ‘urlQ’ and update the changelog
cc231d8Mark Karpov
CHANGELOG.md+4
@@ -1,3 +1,7 @@
1+## Unreleased
2+
3+* Added a quasiquoter for URL creation, `urlQ`.
4+
1## Req 3.1.0
5## Req 3.1.0
2
6
3* Changed signature of `httpConfigRetryPolicy` to `RetryPolicyM IO`.
7* Changed signature of `httpConfigRetryPolicy` to `RetryPolicyM IO`.
Network/HTTP/Req.hs+4−2
@@ -960,8 +960,10 @@ uriHost uri = case URI.uriAuthority uri of
960 Just (URI.unRText authHost)
960 Just (URI.unRText authHost)
961
961
962-- | A quasiquoter to build an 'Url' and 'Option' tuple. The type of the
962-- | A quasiquoter to build an 'Url' and 'Option' tuple. The type of the
963−-- generated expression is `('Url' <scheme1>, 'Option' scheme2)` with
963+-- generated expression is @('Url' scheme0, 'Option' scheme1)@ with
964−-- `<scheme1>` being either `Http` or `Https` depending on the input.
964+-- @scheme0@ being either 'Http' or 'Https' depending on the input.
965+--
966+-- @since 3.2.0
965urlQ :: TH.QuasiQuoter
967urlQ :: TH.QuasiQuoter
966urlQ =
968urlQ =
967 TH.QuasiQuoter
969 TH.QuasiQuoter