Welcome the channel on the development of Cro, a set of libraries for building reactive distributed systems, lovingly crafted to take advantage of all the Raku Programming Language has to offer (cro.services). This channel is being logged for historical purposes.
Set by lizmat on 24 May 2021.
Xliff \o 16:28
Check it... a Raku Calendar one-liner... 16:29
m: my $dt = DateTime.now; my $d1 = $dt.earlier( days => $dt.day.pred ); my $sdow = $d1.day-of-week; my @m = (1...$d1.days-in-month); $sdow.say; @m.unshift(" ") for ^$sdow; @m = @m.map({ " " ~ .fmt($_ eq " " ?? "%2s" !! "%02d") ~ " "}).rotor(7); @m.unshift: <Sun Mon Tue Wed Thu Fri Sat>.map( *.fmt("%4s") ); .say for @m'
Ahh... missing a :partial on that rotor... otherwise 16:34
Altai-man is a little impressed 17:51