AlternateLayoutRule

Ian Lynagh igloo at earth.li
Wed May 14 14:29:51 UTC 2014


On Tue, May 13, 2014 at 11:20:25PM -0700, John Meacham wrote:
> Okay, I believe I have come up with a modified version that accepts many more
> programs and doesn't require complicated comma handling, you can make all
> decisions based on the top of the context stack. It also allows many useful
> layouts that were illegal under the old system.

From your description, the rule still sounds quite complex. It depends
whether the objective is a rule that is close enough to the current rule
that we can switch with very little code breaking, or a rule that is
simple to explain to newcomers to the language (but which will require
much more code tweaking when updating packages to compile with the new
standard).


Thanks
Ian



More information about the Glasgow-haskell-users mailing list