|
00:11
bingos_ joined
00:12
BinGOs left,
bingos_ is now known as BinGOs
00:13
BinGOs left,
BinGOs joined
01:06
kylese left
01:08
kylese joined
01:43
japhb left
01:49
japhb joined
02:15
kylese left,
kylese joined
03:01
leppard left
03:37
lucerne90 left
04:27
swaggboi left
04:30
swaggboi joined
04:52
leppard joined
05:20
Sgeo left
05:21
abraxxa joined
07:04
vasko4535586 left,
vasko4535586 joined
07:32
leppard left
07:37
dakkar joined
07:48
rnddim joined,
ShimmerFairy is now known as Guest4078,
Guest4078 left,
rnddim is now known as ShimmerFairy,
ShimmerFairy left
07:49
ShimmerFairy joined
07:54
ShimmerFairy left,
ShimmerFairy joined
|
|||
| patrickb | o/ | 08:36 | |
| I still fail to reliably return multiple values from functions. Can someone help me out of my misery? These are all my failed tries and what happens -> paste.sr.ht/~patrickb/91871eb4887c...d14fcd0467 | 08:37 | ||
| Updated, found a very ugly way to make it work with captures, I'm not content yet: paste.sr.ht/~patrickb/9cc8dedf1b71...8ecebdf485 | 08:56 | ||
| Added another non-satisfying way to do it: paste.sr.ht/~patrickb/4f47a3186d43...19f890396f | 09:45 | ||
| dakkar | patrickb: :(@!a, @!b) := |g(); | 09:51 | |
| still ugly, but maybe less so | 09:52 | ||
| patrickb | Can you explain the syntax? | ||
| dakkar | oh, you don't even need the | | ||
| :(@!a, @!b) := g(); | |||
| patrickb | what's `:(...)` ? | 09:53 | |
| dakkar | high-level, it reads "unpack the result of g() as a 2-element list, and put the first element in @!a and the second to @!b" | ||
| :(…) is a "signature" | |||
| patrickb | it's a Signature, right? | ||
| that's actually pretty nice | 09:54 | ||
| And I don't even need to return a Capture for this to work! | |||
| dakkar: Thank you! | 09:55 | ||
| dakkar | happy to help ☺ | ||
| Geth | ecosystem/main: 76cd201952 | (Elizabeth Mattijsen)++ | META.list Remove NativeHelpers/Blob They will soon re-emerge as Raku Community modules |
10:55 | |