On 15/05/2014 11:12, Herbert Valerio Riedel wrote:
Hello GHC devs,
While I refactored the ghc code base to declare LANGUAGE pragmas
locally, rather than via -X-flags on the GHC commandline, I've noticed
there were a couple of places where NondecreasingIndentation grammar was used.
What's the current consensus on the use of NondecreasingIndentation? Is
its use still encouraged?
I like it for things like
do
...
if exit_early then return () else do
... more stuff ...
Without NondecreasingIndentation this creeps to the right, which isn't a
good use of whitespace.
Cheers,
Simon
----
Moreover, I touched several files (over 300) while refactoring, would
that qualify as "working on this module" in the sense of
| While working on this module you are encouraged to remove it and detab
| the module (please do the detabbing in a separate patch).
or would that overreach wrt the original intent of the guideline quoted
above?
Cheers,
hvr
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs