[Haskell-beginners] indentation
Jorden Mauro
jrm8005 at gmail.com
Sun Feb 14 17:09:43 EST 2010
On Sun, Feb 14, 2010 at 5:04 PM, Daniel Fischer
<daniel.is.fischer at web.de> wrote:
> Am Sonntag 14 Februar 2010 22:30:27 schrieb Jorden Mauro:
>> On Sun, Feb 14, 2010 at 3:20 PM, Daniel Fischer
>>
>> <daniel.is.fischer at web.de> wrote:
>> > Am Sonntag 14 Februar 2010 20:54:54 schrieb John Moore:
>> >> Hi all,
>> >> I must be doing something wrong with my tabs. Because this
>> >> keeps telling me parse error. Can some one see if it is indentation.
>> >> I'm sending a file so as you'll be able to see what going on. If I
>> >> copy it here it can appear wrong the difference is with the Var
>> >> expression.
>> >>
>> >> John
>> >
>> > First of all, *don't mix tabs and spaces for indentation* (best, don't
>> > use tabs at all).
>>
>> I find the latter a bit too restrictive, especially since I use a text
>> editor that is a glorified version of ed.
>
> Okay: Whyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy?
Structural regular expressions. My editor is almost context-free! (ok,
a lame joke)
I also believe DaVinci was right when he said `simplicity is the
ultimate sophistication'.
>
> Isn't there some editor which allows you to configure the tab settings but
> still is whatever-you-like-about-ed enough for you to use?
Well... there's nothing quite like Sam.
>
>> Hitting the spacebar 19 times is too much to ask of me.
>>
>> And as such, I am occasionally forced to do something when a tab
>> doesn't get me past the word `where' or `let', but isn't that the
>> majority of what Layout specifies?
>>
>> Is there a good answer for caveman programmers who like ed and tabs?
>>
> Never change your tab-width.
>
I can't!
More information about the Beginners
mailing list