Henning Thielemann wrote: > 1. 'if' syntax should be teached as > if a > then b > else c > This indentation makes pretty clear, > what is condition, and what is the result in both cases. > It just resembles > case a of > True -> b > False -> c .
The problem with this is that in a do block it forces me to use /two/ indentation levels, instead of one, e.g. > if test > then do > something > more > else do > anotherthing > stillmore versus > if test then do > something > more > else do > anotherthing > stillmore Ben _______________________________________________ Haskell-prime mailing list Haskell-prime@haskell.org http://www.haskell.org/mailman/listinfo/haskell-prime