linting of readURL function

I disagree with the use of `<$>` in place of `.`, but not enough to fight hlint on it.
This commit is contained in:
2021-11-19 19:28:46 -05:00
parent dfad007b60
commit 489d0fdb78

View File

@@ -54,7 +54,7 @@ readURL
-- ^ the connection
-> IO (Maybe GemURL)
readURL conn =
strFromConn inBufSize conn >>= return . \case
strFromConn inBufSize conn >>= return <$> \case
Nothing -> Nothing
Just str -> decodeGemURL str