Consistent formatting
This commit is contained in:
parent
c8281f2785
commit
061a0c4d9c
|
@ -30,7 +30,7 @@ findDigitFirst (_ : t) = findDigitFirst t
|
||||||
findDigitFirst _ = Nothing
|
findDigitFirst _ = Nothing
|
||||||
|
|
||||||
findDigitLast :: String -> Maybe Integer
|
findDigitLast :: String -> Maybe Integer
|
||||||
findDigitLast (x:xs) = findDigitLast xs <|> findDigit (x : xs)
|
findDigitLast (x : xs) = findDigitLast xs <|> findDigit (x : xs)
|
||||||
findDigitLast [] = Nothing
|
findDigitLast [] = Nothing
|
||||||
|
|
||||||
main :: IO ()
|
main :: IO ()
|
||||||
|
|
Loading…
Reference in New Issue