This channel is intended for people just starting with the Raku Programming Language ( Logs are available at
Set by lizmat on 8 June 2022.
01:35 lizmat_ joined 01:38 lizmat left 02:48 hythm joined 03:33 camelia left 03:42 camelia joined 04:39 hythm left 05:57 CIAvash joined 07:54 dakkar joined 07:59 Manifest0 joined 08:25 CIAvash left 08:26 CIAvash joined 08:35 CIAvash left, CIAvash joined 08:54 lizmat_ left 08:55 lizmat joined 09:27 CIAvash left 11:36 camelia left 11:38 camelia joined 11:42 teatwo joined 11:43 camelia left 11:45 tea3po left 11:49 camelia joined 14:15 camelia left, camelia joined 15:52 stanrifkin joined 16:31 dakkar left 16:54 lizmat_ joined 16:57 lizmat left, lizmat_ left 16:58 lizmat joined 19:20 deadmarshal_ left 19:29 deadmarshal_ joined 19:34 deadmarshal_ left
.ohnowendigo Can I define function that takes a predefined signature value? Like I have my $sig = :(Int $a) and want sub foo to have $sig as its signature 20:02
20:02 deadmarshal_ joined
nemokosch is this a beginner question nowadays? 😅 20:07
20:09 stanrifkin left
.ohnowendigo I'd assume so 20:12
Doesn't everybody dynamically manipulate signature literals in all their programs? How would you, like, add two numbers without that 😛 20:13
(I can move the question) 20:14
nemokosch I'm not aware of a "high-level Raku" solution
feels like there might be one but I kinda can't think of ti
.ohnowendigo Fair 'nuff 20:15
21:10 deadmarshal_ left 21:18 deadmarshal_ joined 21:30 deadmarshal_ left
librasteve @.ohnowendigo - even if a bit above beginner level, I also had the same question - I found this answer on stack overflow 22:03
(I don't think it answers the question you have directly though) ;-( 22:04
.ohnowendigo I just figured it's not a thing I should be trying to do 22:06
librasteve yeah, there are likely some ways to do this via the MOP (Meta Object Protocol) - but that is over my head 22:07
22:50 deadmarshal_ joined 23:42 tea3po joined 23:45 teatwo left