Re: Outlaw tabs

2009-07-10 Thread Ashley Yakeley
Duncan Coutts wrote: If there is consensus on the tabs issue then we could ask for -fwarn-tabs to be included in -Wall. Does -fwarn-tabs complain about tabs in {;}-style? It should not. -- Ashley Yakeley ___ Haskell-prime mailing list

Re: Outlaw tabs

2009-01-26 Thread Jon Fairbairn
Achim Schneider bars...@web.de writes: Twan van Laarhoven twa...@gmail.com wrote: Tabs can be convenient for quick scripts and things like that, where you wouldn't use -Wall. And while I keep hearing about the problems with tabs, I have never encountered any with Haskell code. If you

Re: Outlaw tabs

2009-01-25 Thread Jon Fairbairn
Lennart Augustsson lenn...@augustsson.net writes: But VT is allowed in Haskell. Gosh, so it is. It's been a while since I looked, and I've no recollection of the discussion that made it part of whitechar. But does it mean what I want it to mean? Does anyone actually use it? Are there any

Re: Outlaw tabs

2009-01-25 Thread Lennart Augustsson
I don't know what you want it to mean, so I can't answer that. :) I doubt anyone has ever used a VT on purpose. I know I haven't. I regard it as a lexical quirk. -- Lennart On Sun, Jan 25, 2009 at 11:07 AM, Jon Fairbairn jon.fairba...@cl.cam.ac.uk wrote: Lennart Augustsson

Re: Outlaw tabs

2009-01-25 Thread Jon Fairbairn
Lennart Augustsson lenn...@augustsson.net writes: I don't know what you want it to mean, so I can't answer that. :) I'm not saying, either ;-P I doubt anyone has ever used a VT on purpose. I know I haven't. I regard it as a lexical quirk. Say no to quirks. -- Jón Fairbairn

Re: Outlaw tabs

2009-01-25 Thread Twan van Laarhoven
Jon Fairbairn wrote: Warnings are the wrong answer to this problem. In fact, they're rarely the right answer to any problem. Tabs in sourcecode can have bad effects, and Haskell is a language that attempts to reject bad effects as far as possible. Nor can I see any argument in favour of

Re: Outlaw tabs

2009-01-25 Thread Achim Schneider
Twan van Laarhoven twa...@gmail.com wrote: Jon Fairbairn wrote: Warnings are the wrong answer to this problem. In fact, they're rarely the right answer to any problem. Tabs in sourcecode can have bad effects, and Haskell is a language that attempts to reject bad effects as far as

Re: Outlaw tabs

2009-01-24 Thread Duncan Coutts
On Sat, 2009-01-24 at 00:35 +0100, Achim Schneider wrote: I guess everyone knows why. Can I recommend Ian's Good Haskell Style http://urchin.earth.li/~ian/style/haskell.html We should have it linked/published more widely. The Vim mode that it links to is also excellent. We should try and get

Re: Outlaw tabs

2009-01-24 Thread Cale Gibbard
2009/1/24 Duncan Coutts duncan.cou...@worc.ox.ac.uk: A lot of projects use -Wall. If there is consensus on the tabs issue then we could ask for -fwarn-tabs to be included in -Wall. That should be a good first step. If we cannot achieve consensus within the community for having -Wall include

Re: Outlaw tabs

2009-01-24 Thread Lennart Augustsson
But VT is allowed in Haskell. On Sat, Jan 24, 2009 at 10:50 AM, Jon Fairbairn jon.fairba...@cl.cam.ac.uk wrote: Don Stewart d...@galois.com writes: barsoap: I guess everyone knows why. Use -Wwarn-tabs Warnings are the wrong answer to this problem. In fact, they're rarely the right

Re: Outlaw tabs

2009-01-23 Thread Don Stewart
barsoap: I guess everyone knows why. Use -Wwarn-tabs ___ Haskell-prime mailing list Haskell-prime@haskell.org http://www.haskell.org/mailman/listinfo/haskell-prime

Re: Outlaw tabs

2009-01-23 Thread Dave Bayer
On Jan 23, 2009, at 7:17 PM, Don Stewart wrote: barsoap: I guess everyone knows why. Use -Wwarn-tabs It's -fwarn-tabs ___ Haskell-prime mailing list Haskell-prime@haskell.org http://www.haskell.org/mailman/listinfo/haskell-prime

Re: Outlaw tabs

2009-01-23 Thread Achim Schneider
Dave Bayer ba...@cpw.math.columbia.edu wrote: On Jan 23, 2009, at 7:17 PM, Don Stewart wrote: barsoap: I guess everyone knows why. Use -Wwarn-tabs It's -fwarn-tabs I use :set et, always and ever, I don't need to. Think of all those newbies being stuck with strange type errors...