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