<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 4/5/21 2:36 PM, Ian Lynagh wrote:<br>
</div>
<blockquote type="cite"
cite="mid:20210405193603.GA29627@matrix.chaos.earth.li">It was
originally designed by John Meacham:
<a class="moz-txt-link-freetext" href="https://gitlab.haskell.org/haskell/prime/-/wikis/alternative-layout-rule">https://gitlab.haskell.org/haskell/prime/-/wikis/alternative-layout-rule</a>
<a class="moz-txt-link-freetext" href="https://www.mail-archive.com/haskell-prime@haskell.org/msg01938.html">https://www.mail-archive.com/haskell-prime@haskell.org/msg01938.html</a></blockquote>
<p>Thanks, Ian—I had stumbled across a link to the old Haskell Prime
trac wiki while I was searching for information, but I didn’t
realize where it had been migrated to.</p>
<blockquote type="cite"
cite="mid:20210405193603.GA29627@matrix.chaos.earth.li">It isn't
exactly equivalent to the Haskell layout rule, but it's fairly
close and much simpler (due to not having the "on a parse error"
case).</blockquote>
<p>Yes, I gathered as much from the implementation. The idea makes
sense, but of course it doesn’t provide much benefit to have a
simpler implementation unless it actually <i>replaces</i> the “on
parse error” approach.</p>
<p>Given this appears to be a long-defunct proposal, a natural
followup question is to ask whether there’s any reason this code
is still in GHC. Is it used for any purpose, or could it be
removed?</p>
<p>Alexis<br>
</p>
</body>
</html>