01:57 discord-raku-bot joined
gfldex m:``` 01:57
my @deep-index = 1,2,3;
my @a; @a[||@deep-index] = 42;
dd @a;
# bot had eaten all the RAMs!
```
m:``` 01:59
use v6.*;
my @deep-index = 1,2,3;
my @a; @a[||@deep-index] = 42;
dd @a;
# bot had eaten all the RAMs!
```
use v6.*; 02:00
my @deep-index = 1,2,3;
my @a; @a[||@deep-index] = 42;
dd @a;
m:```
my @deep-index = 1,2,3;
my %h; %h{}
m:``` 02:01
use v6.*
my @deep-index = 1,2,3;
my %h; %h{||@deep-index} = 42;
dd %h;
```
@Nemokosch#9980 Are you looking for slippy SemiLists? Please not that you need `v6.e` or a module called `Slippy::Semilist`. 02:03
@Nemokosch#9980 Are you looking for slippy SemiLists? Please note that you need `v6.e` or a module called `Slippy::Semilist`.
03:54 Guest86 joined, Guest86 left
Nemokosch I don't know but it looks promising 😄 09:31
after all, I want to be able to pass a variable (a list for example) to an array as a multi-dimensional index 09:32
10:42 parv left
Hydrazer how do i assign a type signature for Array? i try to use Array but it keeps trying to use Positional[Array] ``` 14:20
Type check failed in binding to parameter '@line'; expected Positional[Array] but got Array
```
how do i assign a type signature for Array? i try to use Array but it keeps trying to use Positional[Array] ``` 14:21
Type check failed in binding to parameter '@line'; expected Positional[Array] but got Array ([2, 3, 6, 5, 2, 2, 8...)
```
Nemokosch we already talked about this 15:05
at least twice...
1. _don't use the @ sigil_ 2. use coercing types (e.g. Type**()** ) for function signatures 15:08
or just give up on type hints, especially for compound types 🧠 15:10
15:20 getimiskon joined
Hydrazer ok 16:10
ok i try
18:18 zacts joined
zacts hi 18:18
18:25 getimiskon left
Hydrazer yo 18:35
19:24 parv joined 21:38 parv left 22:14 parv joined