00:01 Sgeo joined 00:42 grondilu left 01:24 grondilu joined 01:45 sibl joined
ugexe presumably it stems from it being common for '-' as a command line argument to mean stdin 01:49
[Coke]: on docs.raku.org/type/IO/Handle it says 01:51
In 6.c language, it's possible to open path '-', which will cause open to open (if closed) the $*IN handle if opening in read-only mode or to open the $*OUT handle if opening in write-only mode. All other modes in this case will result in exception being thrown.
As of 6.d language version, the use of path '-' is deprecated and it will be removed in future language versions entirely.
02:06 sibl left 02:15 hulk joined 02:16 kylese left 02:20 sibl joined 02:54 topnep left 02:57 topnep joined 03:15 hulk left, kylese joined 03:20 grondilu left 03:24 topnep left 03:26 topnep joined 03:57 topnep_ joined 04:01 topnep left, grondilu joined 04:31 lichtkind_ joined 04:34 lichtkind left 05:40 Aedil joined 05:49 sibl left 05:56 sibl joined 06:01 sibl left, topnep_ left 06:02 sibl joined, topnep joined
Voldenet fwiw irclogs.raku.org 06:12
is up
propagated in cloudflare dns 06:13
re "index starting from one" - it's rather trivial to implement special kv function for iterators that would start with one 06:29
my @h = <a b>; sub my-kv($i) { my $ix := 0; gather for $i<> { take $ix := $ix + 1; .take } }; for @h.&my-kv -> $k, $v { [$k, $v].raku.say; };
evalable6 [1, "a"]
[2, "b"]
Voldenet so I'm not sure if it's needed at all 06:31
but packaging unusual conventions in modules would work
e.g. `Conventions::Matlab` or `Conventions::Fortran`, it's just an idea though, I'm not sure if it's technically viable 06:34
06:55 abraxxa joined 07:47 Sgeo left 07:55 modula joined 08:06 topnep left 08:07 topnep joined 08:42 sivoais left 11:18 sibl left
[Coke] ugexe: thanks. 13:24
lizmat ugexe: re: As of 6.d language version, the use of path '-' is deprecated and it will be removed in future language versions entirely 13:41
guess we should add an actual deprecation message then
[Coke] github.com/Raku/doc/commit/41d2504...425e86fc5d - when added, was noted that we couldn't emit the message yet. 13:48
lizmat ah, understood, I think we can now 13:49
will take care of that... am working in that area now anyway
[Coke] Given that it's in there, I'm going to close my docubug about it, since my complaint is really that you can't search for short things, and that already has a bug. 13:50
14:03 sibl joined 14:07 sibl left 15:21 guestll joined 15:26 hudo left 15:37 Guest96 joined 15:53 Guest96 left 16:25 guestll left 16:32 sivoais joined 16:48 [Coke]_ joined 16:51 [Coke] left