Binary "or" returns the logical disjunction of the two surrounding expressions. It's equivalent to || except for the very low precedence. This makes it useful for control flow.
See my remarks inline.
On 22 September 2010 17:03, Mark Proctor <mproctor@codehaus.org> wrote:So things that are doing are:
Single binding on 'or'
$binding : ( Pattern() || Pattern() )
We are thinking of only allowing 'or' between patterns and not allowing users to mix and match 'or' and '||'. Inside of patterns '||' is the only connective allowed and will remain so.
OK, a clear distinction avoids confusion.