Formatting
This commit is contained in:
parent
a84522a8ab
commit
5fb072d2a4
@ -54,7 +54,8 @@ scrabbleValueWord (x:xs) = scrabbleValue x + scrabbleValueWord xs
|
|||||||
|
|
||||||
bestScrabbleWordValueAcc :: [String] -> Int -> Int
|
bestScrabbleWordValueAcc :: [String] -> Int -> Int
|
||||||
bestScrabbleWordValueAcc [] acc = acc
|
bestScrabbleWordValueAcc [] acc = acc
|
||||||
bestScrabbleWordValueAcc (x:xs) acc = let currentWordValue = scrabbleValueWord x in
|
bestScrabbleWordValueAcc (x:xs) acc =
|
||||||
|
let currentWordValue = scrabbleValueWord x in
|
||||||
let bestValue = max currentWordValue acc in
|
let bestValue = max currentWordValue acc in
|
||||||
bestScrabbleWordValueAcc xs bestValue
|
bestScrabbleWordValueAcc xs bestValue
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user