develooper Front page | perl.perl6.language | Postings from March 2005

Precedence of "where" ("of", "is", "will")?

Thread Next
From:
Chip Salzenberg
Date:
March 19, 2005 02:15
Subject:
Precedence of "where" ("of", "is", "will")?
Message ID:
20050319023649.GA1736@perlsupport.com
Nobody on #perl6 today could answer this one.  Is:
    Str | Int where { $_ }
the same as:
    (Str | Int) where { $_ }
or:
    Str | (Int where { $_ })
?

Followup questions, Mr. President:

What kind of operators are "where", "of", "is", and "will"?
Is there a reason that S03 doesn't list them?
What are their precedence(s)?

-- 
Chip Salzenberg            - a.k.a. -            <chip@pobox.com>
         Open Source is not an excuse to write fun code
            then leave the actual work to others.

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About