Shared: avoid redundant T.pack in tabFilter

Use the OverloadedStrings literal " " directly instead of
T.pack " ", avoiding an unnecessary pack call on every tab.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
John MacFarlane
2026-04-09 13:45:15 +00:00
co-authored by Claude
parent 04205049c8
commit 6b1d44a701
+1 -1
View File
@@ -263,7 +263,7 @@ tabFilter tabStop = T.unlines . map go . T.lines
in if T.null s2
then s1
else s1 <> T.replicate
(tabStop - (T.length s1 `mod` tabStop)) (T.pack " ")
(tabStop - (T.length s1 `mod` tabStop)) " "
<> go (T.drop 1 s2)
--