Why does GHC replace implicit tabs by spaces

andreas.marth@daimlerchrysler.com andreas.marth@daimlerchrysler.com
Fri, 6 Sep 2002 14:33:50 +0200


--Boundary=_0.0_=0057440030575390
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi everybody!

I am a bit surprised that GHC replaces 	"	Hallo" (I used a tab=20
here - used not coded ('\t').)
by					"        Hallo". (GHC 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 using ghc-5=
.04 and=20
WinNT.)

Any comments?
Andreas
=

--Boundary=_0.0_=0057440030575390
Content-Type: application/octet-stream; name=HalloWorld.hs
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=HalloWorld.hs

aW1wb3J0IFN5c3RlbSAoZ2V0QXJncykNCmltcG9ydCBJTw0KDQptYWluID0gZG8JW2ZpbGVdIDwt
IGdldEFyZ3MNCgkJcHJvZyBmaWxlDQoNCnByb2cgOjogRmlsZVBhdGggLT4gSU8gKCkNCnByb2cg
ZmlsZSA9IGRvCXdyaXRlRmlsZSBmaWxlIHN0cmluZw0KDQpzdHJpbmcgPQkiCUhhbGxvLFxuIiAr
Kw0KCQkiCQl3b3JsZCFcblxuIg==

--Boundary=_0.0_=0057440030575390
Content-Type: application/octet-stream; name=GHC-MyHalloWorld.txt
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=GHC-MyHalloWorld.txt

ICAgICAgIEhhbGxvLA0KICAgICAgICAgICAgICAgd29ybGQhDQoNCg==

--Boundary=_0.0_=0057440030575390
Content-Type: application/octet-stream; name=Hugs-MyHalloWorld.txt
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=Hugs-MyHalloWorld.txt

CUhhbGxvLA0KCQl3b3JsZCENCg0K

--Boundary=_0.0_=0057440030575390--