Text.PrettyPrint mixes tabs and spaces??

MartinSjögren md9ms at mdstud.chalmers.se
Wed Apr 7 14:23:41 EDT 2004

>From Text.PrettyPrint.HughesPJ:

indent n | n >= 8 = '\t' : indent (n - 8)
         | otherwise      = spaces n

I consider it seriously evil to mix tabs and spaces for indentation.
*Seriously* evil. Kill-on-sight evil.

Not to mention that LaTeX's \verbatiminput does not handle tabs, which
makes the result look like, well, crap.

If there are people who want to mix tabs and spaces, fine, but at least
give me a flag that turns it off. Please?


More information about the Libraries mailing list