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. |
|||
08:12
sena_kun joined
09:18
Altai-man joined
09:19
sena_kun left
15:58
rypervenche left
16:21
perlmaros left,
jnthn left,
leont left,
zostay left,
Altreus left,
kawaii_ left
16:22
perlmaros joined,
kawaii_ joined,
Altreus joined,
zostay joined,
leont joined,
jnthn joined
16:28
Xliff joined
|
|||
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 | ||
17:49
xinming left,
xinming joined
|
|||
Altai-man is a little impressed | 17:51 | ||
17:51
Altai-man left
18:03
xinming left,
xinming joined
18:12
sena_kun joined
18:57
sena_kun left
18:59
sena_kun joined
20:40
sena_kun left
20:52
sena_kun joined
20:54
sena_kun left
|