on master help sign in
Fix hlint
commit9cad765c8770c81b35f0c622124d0be4bbbca7b1 authorOleg Grenrus <oleg.grenrus@iki.fi> dateSun 14 Oct 2018, 01:37 (8 years ago) parent38272ec
1 file changed+4−4
benchmarks/Issue673.hs+4−4
benchmarks/Issue673.hs+4−4
@@ -44,16 +44,16 @@ decodeAtto
4444 = parseOnly (scientific <* AttoL.endOfInput)
4545 where
4646 parseOnly p lbs = case AttoL.parse p lbs of
47− AttoL.Done _ r -> Just r
48− AttoL.Fail _ _ _ -> Nothing
47+ AttoL.Done _ r -> Just r
48+ AttoL.Fail {} -> Nothing
4949
5050decodeAtto8 :: LBS.ByteString -> Maybe Scientific
5151decodeAtto8
5252 = parseOnly (Atto8.scientific <* AttoL.endOfInput)
5353 where
5454 parseOnly p lbs = case AttoL.parse p lbs of
55− AttoL.Done _ r -> Just r
56− AttoL.Fail _ _ _ -> Nothing
55+ AttoL.Done _ r -> Just r
56+ AttoL.Fail {} -> Nothing
5757
5858generate :: Int64 -> LBS.ByteString
5959generate n = LBS8.replicate n '1'