Skip to content

Commit bf2925d

Browse files
authored
Replace (++) by (<>) in README.md
1 parent d89aa80 commit bf2925d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import Network.HTTP.Affjax (affjax, defaultRequest)
3737
3838
main = launchAff $ do
3939
res <- affjax $ defaultRequest { url = "/api", method = Left GET }
40-
liftEff $ log $ "GET /api response: " ++ res.response
40+
liftEff $ log $ "GET /api response: " <> res.response
4141
```
4242

4343
(`defaultRequest` is a record value that has all the required fields pre-set for convenient overriding when making a request.)
@@ -49,10 +49,10 @@ import Network.HTTP.Affjax (get, post)
4949
5050
main = launchAff $ do
5151
res1 <- get "/api"
52-
liftEff $ log $ "GET /api response: " ++ res1.response
52+
liftEff $ log $ "GET /api response: " <> res1.response
5353
5454
res2 <- post "/api" someData
55-
liftEff $ log $ "POST /api response: " ++ res2.response
55+
liftEff $ log $ "POST /api response: " <> res2.response
5656
```
5757

5858
See the module documentation for a full list of these helpers.

0 commit comments

Comments
 (0)