On page 36, the DRM says
When a function call using slot reference syntax appears as an
operand, it has greater precedence than any of the binary operators.
This might lead one to think that the slot reference syntax therefore
has *lower* precedence than the unary operators, i.e. that
~choose(...).empty?
means
empty?(~choose(...))
instead of what it actually means, which is
~(empty?(choose(...)))
The grammar for expressions makes it clear, but the page 36 could
probably be rephrased as
When a function call using slot reference syntax appears in an
expression, it has greater precedence than any of the operators.
--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
------->>>>>>http://www.NewsDemon.com<<<<<<------
Unlimited Access, Anonymous Accounts, Uncensored Broadband Access