Replace repeat' and
take' with `replicate' once more
This commit is contained in:
parent
c14c8a1a68
commit
2a291e437a
1 changed files with 1 additions and 1 deletions
|
@ -442,7 +442,7 @@ rawBlockContent blockType = try $ do
|
|||
tabsToSpaces tabLen cs'@(c:cs) =
|
||||
case c of
|
||||
' ' -> ' ':tabsToSpaces tabLen cs
|
||||
'\t' -> (take tabLen $ repeat ' ') ++ tabsToSpaces tabLen cs
|
||||
'\t' -> replicate tabLen ' ' ++ tabsToSpaces tabLen cs
|
||||
_ -> cs'
|
||||
|
||||
commaEscaped :: String -> String
|
||||
|
|
Loading…
Add table
Reference in a new issue