🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). Log available at irclogs.raku.org/raku/live.html . If you're a beginner, you can also check out the #raku-beginner channel!
Set by lizmat on 6 September 2022.
00:00 reportable6 left 00:01 reportable6 joined 00:02 Xliff left 00:04 jpn left 00:14 Manifest0 left 00:23 andydude joined 00:31 squashable6 left, squashable6 joined 00:35 rf joined
rf Evening folks 00:46
00:55 andydude left 00:58 andydude joined 00:59 derpydoo joined 01:03 xinming left 01:05 xinming joined 01:49 jpn joined 01:54 jpn left 02:17 teatwo joined 02:20 tea3po left 02:22 teatwo left, teatwo joined 02:43 jpn joined 02:48 jpn left 03:13 andydude left 03:23 andinus joined 03:25 rf left 03:38 jpn joined 03:41 andydude joined 03:43 jpn left 04:05 jpn joined 05:05 coverable6 left, unicodable6 left, squashable6 left, bisectable6 left, notable6 left, committable6 left, evalable6 left, reportable6 left, sourceable6 left, greppable6 left, bloatable6 left, nativecallable6 left, benchable6 left, statisfiable6 left, shareable6 left, linkable6 left, tellable6 left, releasable6 left, quotable6 left, coverable6 joined, bloatable6 joined 05:06 greppable6 joined, notable6 joined, quotable6 joined, benchable6 joined 05:07 shareable6 joined, unicodable6 joined, sourceable6 joined, committable6 joined, statisfiable6 joined, nativecallable6 joined, tellable6 joined, reportable6 joined, bisectable6 joined, evalable6 joined 05:08 squashable6 joined, linkable6 joined, releasable6 joined 05:39 jpn left 05:51 jpn joined 06:00 reportable6 left, reportable6 joined 06:11 andinus left 06:14 andinus joined 06:18 andydude left 06:35 andydude joined 06:46 jpn left 06:50 bigdata left 07:44 derpydoo left 07:45 andydude left 07:55 sena_kun joined 07:56 Manifest0 joined 07:57 zara joined 08:02 zara left 08:06 dakkar joined 08:10 Sgeo left 08:24 jpn joined 09:22 sena_kun left 09:29 squashable6 left 09:30 squashable6 joined 09:50 euandreh left 10:04 sena_kun joined 10:30 Voldenet_ joined, jpn left, Voldenet left, Voldenet_ is now known as Voldenet 10:32 sena_kun left, sena_kun joined 10:38 eseyman left, jpn joined 10:39 manu__ joined 10:40 manu__ is now known as eseyman 11:04 dakkar left 11:47 perlmaros left 11:51 euandreh joined 12:00 reportable6 left 12:01 reportable6 joined
[Coke] bug in REPL? if I "dd Nil", it outputs Nil twice. 12:05
normally if we emit output, you just get the output, not the result of the op
ah, it's OUT vs. ERR - should we be doing the same trick on following ERR so we can determine if output was made on either channel, not just OUT? 12:06
lizmat the output on ERR could be a warning 12:08
so then you still would want to see the actual value on STDOUT
that's why OUT is checked only
[Coke] ... OK, I figured there was a good reason it was setup this way 12:09
12:10 euandreh left
leont What is the computer science word for what subset does? I'm sure I've seen it come by at some point. 12:25
lizmat refinement type ? 12:26
type refinement ?
leont Yeah, thank you 12:30
[Coke] different REPL question - I occasionally miss the ability you had in tcl to type "ls" or "dir" in the REPL and have it auto-dispatch if it wasn't part of the language. 12:34
... actual question: anyone else ever want that feature? (not that it's too hard to type run('ls')) 12:35
Geth App-Rakubrew/main: 26 commits pushed by (Nick Logan)++, (Patrick Böker)++, (David Hoekman)++, Jasmin++
review: github.com/Raku/App-Rakubrew/compa...83bb4cc58d
12:37
lizmat [Coke] I think the tricky bit is finding out what isn't part of the language, and what is a compilation error caused by user misunderstanding 12:39
Geth App-Rakubrew/main: 4 commits pushed by (Patrick Böker)++ 12:48
12:50 perlmaros joined 13:00 euandreh joined
Geth App-Rakubrew/main: bef1570c54 | (Patrick Böker)++ | release-stuff/do-release.sh
Small release script fixup
13:02
13:05 euandreh left 13:10 euandreh joined 13:17 euandreh left 13:20 euandreh joined 13:30 andydude joined 13:45 andydude left 13:52 andydude joined 14:21 teatwo left, teatwo joined 14:40 euandreh left 15:20 euandreh joined 15:22 Sgeo joined 15:25 jpn left 15:34 thowe joined 15:37 Oshawott left
[Coke] sure, in tcl that was easier because everything started with a command 15:49
maybe a new prefix operator just in repl that does a run
something like !!ls
15:51 tea3po joined 15:54 teatwo left 16:54 sourceable6 left, committable6 left, unicodable6 left, coverable6 left, bloatable6 left, linkable6 left, greppable6 left, quotable6 left, statisfiable6 left, benchable6 left, tellable6 left, squashable6 left, bisectable6 left, nativecallable6 left, evalable6 left, releasable6 left, shareable6 left, reportable6 left, notable6 left 16:55 greppable6 joined, evalable6 joined, nativecallable6 joined, sourceable6 joined 16:56 benchable6 joined, notable6 joined, bisectable6 joined, shareable6 joined, committable6 joined, squashable6 joined, tellable6 joined, bloatable6 joined, unicodable6 joined 16:57 linkable6 joined, statisfiable6 joined, quotable6 joined, releasable6 joined, coverable6 joined, reportable6 joined 17:01 sena_kun left 17:35 dogbert17 joined 17:37 sena_kun joined
leont What's the incantation for "please export everything this other module exports? I'm currently at «::EXPORT::functions = ::SQL::Abstract::EXPORT::functions» but that gives me an error 17:58
18:00 reportable6 left, reportable6 joined
lizmat you have an EXPORT sub ? 18:10
leont That doesn't take tags, does it? 18:14
lizmat EXPORT sub can take named args 18:23
18:43 rf joined
rf Afternoon folks 18:43
18:50 jpn joined 18:55 jpn left
leont lizmat: do you have a working example of that? 18:56
19:26 rf left 19:27 rf joined 19:45 rf left 19:46 rf joined 20:53 squashable6 left, squashable6 joined 21:08 jpn joined 21:12 euandreh left 21:13 euandreh joined 21:16 jpn left 21:17 rf left
leont «Too many positionals passed to 'select'; expected 2 arguments but got 2» go home Raku you're drunk 21:22
21:22 rf joined
leont Apparently, named arguments after a capture argument blows up like that 21:24
m: sub function(|args, :$named) { ... }; function(1) 21:26
camelia Too many positionals passed to 'function'; expected 1 argument but got 1
in sub function at <tmp> line 1
in block <unit> at <tmp> line 1
21:34 rf left 21:36 jpn joined
Nemokosch yes; did I not report that? 21:39
github.com/rakudo/rakudo/issues/5102 21:41
21:45 jpn left 21:51 sena_kun left 21:56 jpn joined 21:57 andydude left 22:01 jpn left 22:05 andydude joined 23:32 euandreh left
kybr m: (1..4).List 23:41
camelia ( no output )
kybr m: (1..4).List.say 23:42
camelia (1 2 3 4)
kybr m: (4..1).List.say
camelia ()
kybr why?
23:43 euandreh joined
kybr i'm sure there's a good reason that (4..1).List does not become (1,2,3,4) but instead () but it is not coming to me. 23:47
err (4,3,2,1)