Lots of Rakudo fixes/enhancements

The Raku Programming Language Collect, Conserve and Remaster Project

Lots of Rakudo fixes/enhancements

Originally published on 9 August 2008 by Jonathan Worthington.

So, I’m on my way to YAPC::Europe! I’m writing this for posting next time I have net access, from Bratislava airport, which is busier than I’ve seen it before. Even so, I arrived an hour and a quarter before my flight was due to leave and found only two people in the queue to check in, then found a seat in departures to wait for boarding. I’m flying to Sweden, and will take a few days of holiday and seeing Swedish friends before heading over to Copenhagen to join the pre-conference hackathon on Tuesday.

Thursday was this week’s Rakudo day. I planned to start on lazy lists, but didn’t get to it. I did do many fixes, however, that will make a lot of things that you expect to Just Work actually, well, work.

Maybe the biggest thing is that the anonymous hash composer { ... } now works. It’s a tad subtle because of course this syntax could be a block too. The heuristics used to determine it’s a hash are as follows:

If it matches one of these, you get an anonymous hash. Otherwise, you get a block. Of course, any keyword introducing a routine, or the lambda syntax, means that you always get a block.

There are numerous other fixes and enhancements too:

Thanks for Vienna.pm for funding this work.