2009/3/16 Edson Tirelli <span dir="ltr">&lt;<a href="mailto:tirelli@post.com">tirelli@post.com</a>&gt;</span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>   This is an old discussion. Single binding on &quot;or&quot; is a non-orthogonal special case on the language syntax that was introduced in the early days when we only had &quot;infix&quot; CEs. When we started to support prefix CE, the special case was not updated, and as a result, the single binding works only with infix.<br>

</blockquote><div><br>The example I&#39;ve posted is practically identical to Example 7.55, or with binding. So, if it&#39;s not in the language, it&#39;d better not be in the documentation :-)<br><br>As for the individual binding, as in<br>
      (or $t : Trigger(fa == 1)<br>            $t : Trigger(fa == 2))<br>the documentation ought to caution against using different names, at least when these names are used on the RHS.<br><br></div>I agree that or groups with bindings on patterns are tricky. But is the form that&#39;s now accepted by the compiler less error-prone than the one the compiler refuses?<br>
</div><br>Wolfgang<br><br><br>