[perl #61672] .map method (also grep) doesn't allow pointy-blocks

2008-12-26 Thread Patrick R. Michaud via RT
On Wed Dec 24 10:54:11 2008, dwh...@nvidia.com wrote: % ./perl6 -e '.say for a 1 b 2.map: { $^a ~ $^b }' a1 b2 % ./perl6 -e '.say for a 1 b 2.map: - $a, $b { $a ~ $b }' Statement not terminated properly at line 1, near : - $a, $ Currently Rakudo has difficulty parsing pointy blocks in term

[perl #61672] .map method (also grep) doesn't allow pointy-blocks

2008-12-26 Thread Patrick R. Michaud via RT
Now fixed in r34388: $ ./parrot perl6.pbc -e '.say for a 1 b 2.map: - $a, $b { $a ~ $b }' a1 b2 $ Thanks! Pm

[perl #61672] .map method (also grep) doesn't allow pointy-blocks

2008-12-24 Thread David Whipp
# New Ticket Created by David Whipp # Please include the string: [perl #61672] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61672 % ./perl6 -e '.say for a 1 b 2.map: { $^a ~ $^b }' a1 b2 % ./perl6 -e '.say for a 1