[rules-dev] drools 5.5, 6.0 and roadmap

Mark Proctor mproctor at codehaus.org
Wed Jul 4 16:13:58 EDT 2012


On 04/07/2012 15:54, Wolfgang Laun wrote:
>
>
> On 4 July 2012 16:15, Mark Proctor <mproctor at codehaus.org 
> <mailto:mproctor at codehaus.org>> wrote:
>
>
>
>     Btw I'm not sure what you mean by "alternatives" here, I suspect that
>     will confuse others too:
>     The 'case' phrases are not alternatives, but 'break' is available to
>     terminate the switch CE after a match
>
>
> I was trying to say that 'switch' doesn't select at most one of its 
> 'case' phrases
> unless you use 'break'. Matching more than one 'case' is possible, 
> resulting
> in multiple activations, similar to 'or'.
Agreed maybe "match" would be a better word. It is in the spirit of 
pattern matching in erlang and scala.

Mark
>
> I'll clarify.
>
> -W
>
>
> _______________________________________________
> rules-dev mailing list
> rules-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20120704/be7b72c5/attachment.html 


More information about the rules-dev mailing list