Why does GHC replace implicit tabs by spaces
Fri, 6 Sep 2002 13:52:01 +0100
> I am a bit surprised that GHC replaces " Hallo"=20
> (I used a tab=20
> here - used not coded ('\t').)
> by " Hallo". (GHC=20
> replaced the=20
> tab by 8 spaces.)
> Is this a bug? Hugs keeps the tab.
> (See the attached code, and output from Hugs and GHC. I am=20
> using ghc-5.04 and WinNT.)
Both Hugs & GHC are wrong. Literal tabs aren't valid inside a string
literal according to Haskell 98; if you want a tab, use '\t'.