on master help sign in
Merge branch 'master' into dev
commitfe047d51563ad6113be642cad136b179fb8b0e6c authorEvan Czaplicki <info@elm-lang.org> dateTue 19 Nov 2013, 22:40 (13 years ago) parentbccfecef0d9d3b
1 file changed+1−1
compiler/SourceSyntax/PrettyPrint.hs+1−1
compiler/SourceSyntax/PrettyPrint.hs+1−1
@@ -25,7 +25,7 @@ reprime = map (\c -> if c == '$' then '\'' else c)
2525eightyCharLines :: Int -> String -> String
2626eightyCharLines indent message = answer
2727 where
28− (answer,_,_) = foldl step (replicate (indent-1) ' ', indent-1, "") chunks
28+ (answer,_,_) = foldl step (spaces, indent-1, "") chunks
2929
3030 chunks = map (\w -> (w, length w)) (words message)
3131 spaces = replicate indent ' '