<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 04/07/2012 15:54, Wolfgang Laun
wrote:<br>
</div>
<blockquote
cite="mid:CANaj1Lct3HDSKYBcq7cx9iBDkWQR=XixGxVq0vewhwyZV7ZELg@mail.gmail.com"
type="cite"><br>
<br>
<div class="gmail_quote">On 4 July 2012 16:15, Mark Proctor <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:mproctor@codehaus.org" target="_blank">mproctor@codehaus.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Btw I'm not sure what you mean by "alternatives" here, I
suspect that<br>
will confuse others too:<br>
The 'case' phrases are not alternatives, but 'break' is
available to<br>
terminate the switch CE after a match<br>
<br>
</blockquote>
<div><br>
I was trying to say that 'switch' doesn't select at most one
of its 'case' phrases<br>
unless you use 'break'. Matching more than one 'case' is
possible, resulting<br>
in multiple activations, similar to 'or'.<br>
</div>
</div>
</blockquote>
Agreed maybe "match" would be a better word. It is in the spirit of
pattern matching in erlang and scala.<br>
<br>
Mark<br>
<blockquote
cite="mid:CANaj1Lct3HDSKYBcq7cx9iBDkWQR=XixGxVq0vewhwyZV7ZELg@mail.gmail.com"
type="cite">
<div class="gmail_quote">
<div><br>
I'll clarify.<br>
<br>
-W<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
rules-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-dev">https://lists.jboss.org/mailman/listinfo/rules-dev</a>
</pre>
</blockquote>
<br>
<br>
</body>
</html>