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.
Michael
---------- Forwarded message ----------
From: Shimuuar
Date: Wed, Jun 1, 2011 at 7:33 PM
Subject: Re: [hamlet] Clearer error for mixed spaces / tabs nesting in
cassius (#2)
To: michael@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:
https://github.com/snoyberg/hamlet/issues/2#comment_1275487