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

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

Thread Next
Chip Salzenberg
March 19, 2005 02:15
Precedence of "where" ("of", "is", "will")?
Message ID:
Nobody on #perl6 today could answer this one.  Is:
    Str | Int where { $_ }
the same as:
    (Str | Int) where { $_ }
    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. -            <>
         Open Source is not an excuse to write fun code
            then leave the actual work to others.

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About