[web-devel] Fwd: [hamlet] Clearer error for mixed spaces / tabs nesting in cassius (#2)
aristidb at googlemail.com
Fri Jun 3 14:37:29 CEST 2011
Am 03.06.2011 13:58 schrieb "Michael Snoyman" <michael at snoyman.com>:
> I don't have a strong opinion on tabs/spaces for Hamlet and Cassius
> (the discussion isn't relevant for Julius or Lucius). So I thought I'd
> just throw this to the web-devel list: what do you guys think?
> Currently, 1 tab = 4 spaces for indentation purposes. I personally
> never use hard tabs for Haskell, so the question doesn't affect me.
> ---------- Forwarded message ----------
> From: Shimuuar <
reply+i-326148-baa0eff244395e870f290821538bf79d83ec1190 at reply.github.com>
> Date: Wed, Jun 1, 2011 at 7:33 PM
> Subject: Re: [hamlet] Clearer error for mixed spaces / tabs nesting in
> cassius (#2)
> To: michael at snoyman.com
> I'd vote to ban tabs. They may change meaning of program silently. If
> your editor and hamlet/cassius have different tab width it may lead
> either to error or it could be parsed not as you expected. Second case
> is real. I encountered it.
> IMHO mixing tabs and significant indentation is generally bad idea™
> Reply to this email directly or view it on GitHub:
> web-devel mailing list
> web-devel at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the web-devel