[chore] add hackage to README.md
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
mangoiv 2024-07-21 21:39:10 +02:00
parent 30af8940ec
commit d5d506ffc6
Signed by: mangoiv
SSH key fingerprint: SHA256:JlsRe4zkmS13EG6gMFNjv13Lw5rtoMPu3Lq69ZQTKF8
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
[![ci](https://ci.mangoiv.com/api/badges/11/status.svg)](https://ci.mangoiv.com/repos/11)
[![Hackage](https://img.shields.io/hackage/v/http-barf.svg)](https://hackage.haskell.org/package/http-barf) [![ci](https://ci.mangoiv.com/api/badges/11/status.svg)](https://ci.mangoiv.com/repos/11)
# http barf

View file

@ -178,7 +178,7 @@ h_ k v = MkReq \req -> req {headers = (k, v) `V.cons` req.headers}
-- | 'v_' like "value"
--
-- this is a convenience helper for using @'j_' @Value@. It is useful
-- this is a convenience helper for using @'j_'@ specialised to 'Value'. It is useful
-- if you just want to quickly build a json body for your request.
--
-- if the json body is already set, it /will be overwritten/
@ -196,7 +196,7 @@ j_
=> a
-- ^ the value of the json body
-> Req
j_ val = MkReq \req -> req {jsonBody = Just (Aeson.toJSON val)}
j_ = v_ . Aeson.toJSON
-- | print the request before dispatching, useful for debugging
inspectRequest_ :: Req