Hlint: Error: Redundant return
This commit is contained in:
parent
3341ad197f
commit
af3ad2abe1
@ -423,8 +423,7 @@ postingamount :: GenParser Char st MixedAmount
|
|||||||
postingamount =
|
postingamount =
|
||||||
try (do
|
try (do
|
||||||
many1 spacenonewline
|
many1 spacenonewline
|
||||||
a <- someamount <|> return missingamt
|
someamount <|> return missingamt
|
||||||
return a
|
|
||||||
) <|> return missingamt
|
) <|> return missingamt
|
||||||
|
|
||||||
someamount :: GenParser Char st MixedAmount
|
someamount :: GenParser Char st MixedAmount
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user