[Glynn Clements <[EMAIL PROTECTED]>] > > Peter wrote: > > > > Currently, I expand tabs to 4 spaces only, so > > > > > > \tx=bar > > > > > > looks like > > > > > > ____foo = bar > > > > > > to me when the compiler sees > > > > > > ________foo = bar > > > > If you want to go the layout way perhaps someone/you could put in a compiler > > option for tab expansion. Check in ghc/compiler/parser/Lex.lhs - it should > > be a starting point. Perhaps I will do it if I get a chance. > > That seems like a really bad idea to me. If someone writes code which > relies upon this particular option, but it isn't given, there's a good > chance that the code will be compiled incorrectly but without any > warning. >
please see my previous suggestion: i believe the compiler should refuse to do "tab expansion" at all... m -- matt hellige [EMAIL PROTECTED] http://matt.immute.net _______________________________________________ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe
