Formatting
This commit is contained in:
parent
6eb6bd8d14
commit
e6bcbbf744
@ -29,8 +29,8 @@ calculateChecksum input = a * b
|
|||||||
|
|
||||||
sameChars :: String -> String -> Int
|
sameChars :: String -> String -> Int
|
||||||
sameChars (x:xs) (y:ys)
|
sameChars (x:xs) (y:ys)
|
||||||
| x == y = 1 + sameChars xs ys
|
| x == y = 1 + sameChars xs ys
|
||||||
| otherwise = sameChars xs ys
|
| otherwise = sameChars xs ys
|
||||||
sameChars [] [] = 0
|
sameChars [] [] = 0
|
||||||
|
|
||||||
getCorrectBoxes :: [String] -> [String]
|
getCorrectBoxes :: [String] -> [String]
|
||||||
|
Loading…
Reference in New Issue
Block a user