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 position -- it gets confused by the leading hyphen and thinks it's a prefix:<->. (For a variety of reasons, terms aren't currently participating in PGE's form of longest token matching.) I'll see if I can fix this in the very near future. Pm