[Haskell-i18n] Unicode in source

Ashley Yakeley ashley@semantic.org
Fri, 23 Aug 2002 21:05:20 -0700

At 2002-08-23 19:47, Glynn Clements wrote:

>  To determine the column number, assume a fixed-width font with this
>  tab convention: tab stops are 8 characters apart, and a tab
>  character causes the insertion of enough spaces to align the current
>  position with the next tab stop.
>If you want your code to compile properly, it will have to "look"
>right to a compiler which has tab stops every eight columns.

Oh I don't use layout, so this makes no difference to me. My blocks are 
explicitly and unambiguously marked with braces, and my declarations 
separated with semicolons. And my tabs are set to four, because the code 
looks nicer that way.

And now with internationalisation, we're having all this trouble because 
the "column number" notion necessary for layout just doesn't work very 
well with such things as multiple scripts, special halfwidth forms, 
composed vs. decomposed characters, different-sized spaces etc. I think 
in this case some simple "90%" solution will be adequate, but my own 
preference is to avoid it altogether.

Ashley Yakeley, Seattle WA