04:06 lizmat joined 05:01 sibl left 05:02 sibl joined 05:08 sibl left 05:09 sibl joined 05:12 sibl left 05:15 sibl joined 05:18 sibl left 05:19 atcroft joined 05:20 sibl joined 05:30 sibl left 05:34 sibl joined 05:36 sibl left, sibl joined 05:39 sibl left, sibl joined 05:43 sibl left 06:11 sibl joined
disbot2 <simon_sibl> from what I tried it seems the order of declaration matters 07:02
<simon_sibl> the most open sub on top makes it fails, while if the most open sub is at the bottom (last declared) then it works
07:35 sibl left 07:36 sibl joined 07:40 sibl left 07:41 sibl joined 08:10 sibl left 08:11 sibl joined 08:21 sibl left 08:27 sibl joined
disbot2 <rcmlz> IMHO a good way of discovering interesting new Raku features is a.) solving a task on exercism.org/tracks/raku and then b.) look at the community solutions and then c.) improve your own solution. 08:32
<librasteve> okaay - guess I should rtfm docs.raku.org/language/glossary#Multi-dispatch 09:51
<librasteve> The selection process is primarily based on types and number of arguments (arity), where the narrowest, most specific candidate wins, typically without regard to the order of declaration. The is default trait may be used as a tiebreaker in this first phase. There is also a secondary phase where some different tiebreakers may be evaluated in order of declaration of the methods or subs.
<librasteve> (if a narrow multi is passed over in favour of one declared before it, then that is a bug - share code if it's still a mystery) 09:55
<librasteve> please
lizmat note that required named arguments (:$foo!) count as "arity" 09:56
optional named arguments do not
disbot2 <librasteve> .oO - is that in the docs?
lizmat think it is? 09:57
m: 'multi a(:$a, :$b) { dd }; multi a(:$c!) { }; a; a(:c)
m: multi a(:$a, :$b) { dd }; multi a(:$c!) { }; a; a(:c) 09:58
hmmm... did we lose evallable6 now as well?
sub a(:$a, :$b)
sub a(:$c!)
disbot2 <librasteve> m: say 42
<Raku eval> 42
<librasteve> guess you have to say
lizmat nah, even without say it would have responded that there was no output 09:59
disbot2 <librasteve> m: my $x = 42;
<Raku eval>
<librasteve> (this over the bridge from Discord ofc)
<librasteve> fwiw I will make a couple of tweaks to the docs since I don't see it 10:01
10:10 sibl left 10:22 librasteve_ joined 11:26 masayoshi joined 11:39 masayoshi left
disbot2 <winfredraj> Hello all, is there a way to recover a fez password? 13:52
<librasteve> try fez reset-password 13:56
<librasteve> (from fez help btw) 13:57
15:20 apogee_ntv left 15:21 apogee_ntv joined 17:55 human-blip left 17:56 human-blip joined 22:04 apogee_ntv left 22:05 apogee_ntv joined