Some more Raku related videos have become available of the first in-person event in a long time:
- Raku compared with ____________ (lightning talk) by Daniel Sockwell.
- Make a module for you and others by Matthew Stuckwisch.
- Playing nice with others – using the new COERCE protocol by Matthew Stuckwisch.
- Meet the YAS Board (Q&A)
And these had already become available last week:
- Raku -OFun for everyone by Daniel Sockwell.
- A Nailgun for Raku (lightning talk) by Daniel Sockwell.
- Raku for Beginners (tutorial) by Bruce Gray.
- Three Ways to Make Wrong Code Look Wrong(er) by Daniel Sockwell.
- Raku Navigator by Brian Scannell.
- Dispatches from Raku (lightning talk) by Daniel Sockwell.
- Ancient Code (in Raku) (lightning talk) by Matthew Stuckwisch.
Conference Reminder
Put this in your agenda: the second Raku Conference will be held on 13-14 August 2022, online!
Documentation Meetup
An online meetup for all people interested in the development of the Raku documentation, is planned for 9 July 2022 at noon Eastern Time (which is 16:00 UTC). Please check the #raku-doc IRC channel for more information.
Anton’s Corner
Anton Antonov continues to be on a roll, introducing ML::ROCFunctions
in a blog post (part of a framework for analysis and tuning of binary classifiers).
Steve’s Corner
Steve Dondley wrote an introduction to their new Proc::Easier
distribution.
Did You Know?
That you can refer to previously calculated values in the REPL?
$ raku
[0] > 42
42
[1] > 666
666
[2] > say $*0 + $*1
708
[2] > say @*_
(42 666)
[2]
Note that each time a value has been calculated (without it having been explicitely displayed with e.g. say
), the number before the prompt ( >
) is incremented. In any new expression, you can refer to these values by index: $*0
(e.g. in say $*0 + $*1
). The scalars are actually shortcuts to the underlying @*_
array, which you can also access directly.
Please note that $*0
(and friends) and @*_
only exist in the REPL, and nowhere else!
Weeklies
Weekly Challenge #172 is available for your perusal.
New Pull Requests
- Solution for #328
- Set
max AssetPack
version in cpanfile - Make
Array.List
with holes respect.default
- Add sub version of
.head
/.skip
/.tail
- Implement Haskell’s
span
assnip
in 6.e - Implement coercion via new-disp
- Add a help function to the repl
Core Developments
- Vadim Belman added methods
.inode
,.dev
and.devtype
toIO::Path
. - Ben Davies made sure that
Positional
/Associative
type parameters are considered in optional defaults. - Stefan Seifert continued working on the RakuAST branch: supporting invocant markers, handling cloning of stubbed code objects, assigning to native attributes, support for
Whatever
currying, implementing support forandthen
,orelse
,notandthen
and fixed issues with sinking. This resulted in 512 roast files now fully passing (and without needing a normal spectest run first). Wow!
Questions about Raku
- MacOS: how to avoid ssl hell on intel mac? by Steve Dondley.
- Tools/methods for generating web-based documentation of submodules? by Steve Dondley.
- How does one write the equivalent of Haskell’s span function? by user3134725.
- Why can’t Comma IDE find `raku` binary after a reboot? by Steve Dondley.
- Generating a hash without a helper function by anna_g0mez.
- Doesn’t routine
first
returnNil
when no values match? by user3134725. - How does one calculate the sum of positive divisors from a prime factorization? by user3134725.
- How can I improve this
for
loop so it doesn’t use counters? by Steve Dondley.
Meanwhile on Twitter
- Like make by JJ Merelo.
- Using different operators by Steve Pollei.
- It isn’t the type system by Steve Pollei.
- Applying Raku to DS by Aureliano – O Polímata.
- Will finish it tomorrow, probably by Mark Gardner.
- Dragons and dark magic by fuzzygroup.
- What do you think happened? by Massa Humberto.
- Bringing back memories by Jonguk Kim.
- 100% Raku by JJ Merelo.
- Should only take… by Brian Wisti.
- Going even further with grammars by Elizabeth Mattijsen.
Meanwhile on the mailing list
- Is this zef or me: Inconsistent Ecosystem response by Richard Hainsworth.
- What is `Γäó`? by ToddAndMargo.
- OAuth2 ??? by ToddAndMargo.
- Shorter way to set states in
-n
? by Marc Chantreux.
Comments about Raku
- Most exciting thing by Alexey Melezhik.
- A future proof language by Ralph Mellor.
- Did a linktree by VMChBOHO.
- You can still mix it! by Stefan Seifert.
- My Perl and Raku Conference 2022 Write-Up by Dave Rolsky.
- Help with side projects by Alexey Melezhik.
- What to do with
with
by Ralph Mellor.
New Raku Modules
- head-skip-tail “Provide sub versions of
.head
|skip
|tail
” by Elizabeth Mattijsen. - Proc::Easier “run processes with OO goodness” by Steve Dondley.
- span “Provide Haskell’s
span
functionality” by Elizabeth Mattijsen. - Doc::Executable “Executable Raku examples” by Steve Dondley.
Updated Raku Modules
- Distribution::Resources::Menu, Menu::Simple, Test::Output by Steve Dondley.
- ake by JJ Merelo.
- LibXML, LibXSLT, HarfBuzz, HarfBuzz::Font::FreeType, HarfBuzz::Shaper::Cairo, HarfBuzz::Subset, W3C::DOM, CSS::Properties, Base64::Native, PDF::Content, HTML::Canvas, PDF by David Warring.
- CLI::Version by Elizabeth Mattijsen.
- Compress::Snappy by avuserow.
- Net::Snapcast by Adrian Kreher.
- ML::ROCFunctions, Data::Summarizers by Anton Antonov.
- Raku::Pod::Render, raku-pod-extraction by Richard Hainsworth.
- TimeUnit by Mikhail Khorkov.
Winding down
Wow, another nice crop of new modules! 🙂
This week’s image was made enjoying a small train ride in the neighborhood. It is there to remind us to support Ukraine in their fight against the Russian aggression. Слава Україні! Героям слава!
In the mean time, please stay safe, stay healthy, keep up the good work! ‘Rona is most definitely not over yet.
If you like what I’m doing, committing to a small sponsorship would mean a great deal!
How many roast files are there? Just trying to get a feel for the progress reports on RakuAST 🙂
LikeLiked by 1 person
1353 at current count. Mind you, this is not really an indication of the amount of work that still needs to be done. Many failures depend on the same feature not being implemented. Once implemented, the failing test files either pass or fail for a different reason. Judging from experience with the Great List Refactor, I’d say we’re now past 50% of the necessary work (even though you wouldn’t expect that seeing the 512 / 1353 figure).
LikeLiked by 1 person