| ... | ... | @@ -6,7 +6,7 @@ Many newbies seems to get their Haskell code layout wrong because their editor u |
|
|
|
### Alternative
|
|
|
|
|
|
|
|
|
|
|
|
\[added by Simon M\] An alternative suggestion is the following: make it an error if the meaning of any layout depends on the width of a tab character. More precisely, this means a requirement that every two adjacent indented lines must begin with the same sequence of spaces and tabs, up to the indentation of the least-indented line.
|
|
|
|
\[added by Simon M\] An alternative suggestion is the following: make it an error if the syntactic interpretation of the source code depends on the width of a tab character.
|
|
|
|
|
|
|
|
|
|
|
|
Pros:
|
| ... | ... | |