🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). Log available at irclogs.raku.org/raku/live.html . If you're a beginner, you can also check out the #raku-beginner channel!
Set by lizmat on 6 September 2022.
00:01 jpn left 00:10 ttyyls left 00:42 ttyyls joined 00:57 jpn joined 01:02 jpn left 01:36 hulk joined 01:37 kylese left 01:40 snonux left 01:41 snonux joined 01:48 MasterDuke joined 02:07 jpn joined 02:12 jpn left 02:15 hulk left, kylese joined 02:42 rypervenche left 02:50 rypervenche joined 03:55 jpn joined 04:00 jpn left 05:01 jpn joined 05:06 jpn left 05:27 abraxxa joined 05:49 CIAvash joined 05:51 CIAvash left 05:52 CIAvash joined 06:00 Sgeo left 06:32 jpn joined 06:35 itaipu left 06:37 jpn left 06:48 itaipu joined 07:18 ptc joined 07:56 jpn joined 08:01 jpn left 08:03 jpn joined 08:08 jpn left 08:10 dakkar joined, nebuchadnezzar joined 08:11 jpn joined 08:30 CIAvash left 08:44 MasterDuke left 09:39 sena_kun joined 10:18 abraxxa left 10:26 abraxxa joined 10:27 ttyyls left 10:36 jpn left 10:48 jpn joined 11:08 ptc left 12:21 jpn left 12:26 jpn joined 13:17 ptc joined 13:24 abraxxa left 13:25 abraxxa joined 13:31 ptc left 13:35 abraxxa left 13:36 abraxxa joined
tbrowder lizmat: you ok? i don't see weekly for this week 13:51
lizmat yeah, I'm ok.. just wondered whether anybody would notice my April Fools prank of not writing a weekly 13:52
tbrowder well you "fool"ed me. we were talking yesterday and we in my small world heard no one mention april fool! 13:53
lizmat or it was that I didn't feel like it :-(
tbrowder hope you feel better soon. you need a designated understudy from the younger crowd 13:56
[Coke] :( 14:13
antononcube @lizmat Prank you! Prank you, very much! 14:24
@lizmat Agh, sorry -- didn't read all the comments! Get better! 14:25
librasteve o/ 14:29
I am trying to work out how to dynamically add class names to my exports 14:30
i have this class Length is Measure is export {}
lizmat the secret lies in having an EXPORT sub in the compunit scope
librasteve i would like this my $item = 'Boodle'; class ::($item) is Measure is export {}
.oO 14:31
lizmat that will never work
as the assignment is runtime, and the class statement is compile time
librasteve ===SORRY!=== Name ::($item) is not compile-time known, and can not serve as a package name
lizmat right
librasteve your example shows something different from your original question, I believe ? 14:33
librasteve yeah ... so in the Map that EXPORT returns do I just go $item => ::($item) is Measure or similar?
lizmat the value must be a deconted value that you want to export 14:34
Map.new( ($item => Measure) ) # note the extra parens to create a list of Pairs instead of named arguments 14:35
if $item is the name you want to export to
librasteve okaay - let me tinker with that ...
14:40 ptc joined
not getting anywhere - this is probably one for SO 14:56
lizmat note that the EXPORT sub *must* be at the compunit scope, *not* any classes scope 14:58
japhb Probably worth pointing out that applies to compunit-scoped class declarations (some people use those almost exclusively and may not be thinking about it applying here) 15:10
librasteve stackoverflow.com/questions/782686...es-in-raku 15:12
15:18 hudo_ joined 15:27 vlad joined 16:06 hudo_ left 16:49 dakkar left 16:52 vlad left 16:59 vlad joined
tbrowder librasteve: where did you learn ter 17:11
*term “boodle” 17:12
i haven’t heard it used in a long time 17:13
17:30 abraxxa left 17:43 vlad left 17:44 vlad joined 18:15 ptc left 18:30 vlad left 18:32 vlad joined 18:33 abraxxa-home joined 18:34 abraxxa-home left 18:35 abraxxa-home joined 19:02 gdown joined 19:16 hudo_ joined 19:27 vlad left 19:28 Guest97 joined, hudo_ left 19:29 hudo_ joined 19:30 Guest97 left 19:36 ptc joined 19:48 hudo_ left 19:50 jpn left 19:51 ptc left 20:11 GreaseMonkey left
Util SmokeMachine: Yes, having your talk (or scientific paper) accepted for tprc.us/ will make your conference admission zero-charge. 20:53
21:09 Maylay left, jpn joined
[Coke] anyone from #raku planning to attend? 21:52
I will actually be driving through Vegas on the way home at that time - not in town long enough for the conference, but would be happy to swing by and say "hey" 21:54
antononcube @Coke I was strongly considering attending, but decided not to. (Too far for me...) 22:00
Util Coke: please do swing by! 22:05
Sarah and I are attending; I don't yet have a handle on other #raku folks. 22:06
22:21 abraxxa-home left 22:22 ttyyls joined 22:43 Maylay joined 22:49 Sgeo joined 22:56 jpn left 23:10 gdown left 23:16 jpn joined 23:21 jpn left 23:46 sena_kun left 23:50 MasterDuke joined 23:59 ttyyls left