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:
1 parent
dfad007b60
commit
489d0fdb78
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user