🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). This channel is logged for the purpose of keeping a history about its development | evalbot usage: 'm: say 3;' or /msg camelia m: ... | Log inspection is getting closer to beta. If you're a beginner, you can also check out the #raku-beginner channel!
Set by lizmat on 25 August 2021.
00:05 lichtkind__ left 00:07 reportable6 left 00:10 reportable6 joined 00:15 facetious joined, facetious is now known as tailgate 01:08 razetime joined 01:12 euandreh left 01:19 guifa joined 02:19 notable6 left, releasable6 left, reportable6 left, sourceable6 left, bisectable6 left, linkable6 left, bloatable6 left, nativecallable6 left, coverable6 left, committable6 left, quotable6 left, unicodable6 left, evalable6 left, greppable6 left, benchable6 left, statisfiable6 left, shareable6 left, euandreh joined 02:20 unicodable6 joined, greppable6 joined, quotable6 joined 02:21 bloatable6 joined, bisectable6 joined, sourceable6 joined, reportable6 joined, evalable6 joined, benchable6 joined 02:22 committable6 joined, notable6 joined, statisfiable6 joined, nativecallable6 joined, releasable6 joined, coverable6 joined, linkable6 joined, shareable6 joined 02:37 razetime left 03:37 shareable6 left, nativecallable6 left, evalable6 left, coverable6 left, unicodable6 left, reportable6 left, notable6 left, benchable6 left, bisectable6 left, statisfiable6 left 03:38 unicodable6 joined, reportable6 joined 03:39 coverable6 joined, evalable6 joined, benchable6 joined, nativecallable6 joined, bisectable6 joined 03:40 notable6 joined, statisfiable6 joined, shareable6 joined 04:40 bloatable6 left, committable6 left, sourceable6 left, releasable6 left, reportable6 left, bisectable6 left, nativecallable6 left, greppable6 left, linkable6 left, quotable6 left, evalable6 left, notable6 left, shareable6 left, unicodable6 left, benchable6 left, statisfiable6 left, coverable6 left, unicodable6 joined, reportable6 joined 04:41 shareable6 joined, evalable6 joined, bisectable6 joined 04:42 releasable6 joined, notable6 joined, statisfiable6 joined, quotable6 joined, coverable6 joined, bloatable6 joined, benchable6 joined, sourceable6 joined 04:43 committable6 joined, linkable6 joined, nativecallable6 joined, greppable6 joined 05:00 guifa left 05:11 frost joined 06:06 reportable6 left 06:09 reportable6 joined 06:12 lockywolf left 06:16 lockywolf joined 06:31 lockywolf left 06:34 lockywolf joined 06:59 jjido joined 07:00 ocomport joined 07:14 jjido left 07:31 ProperN[out] left 07:32 ProperNoun joined 07:43 lichtkind joined 08:13 jjido joined 08:44 razetime joined, razetime_ joined 08:45 razetime__ joined, razetime__ left, razetime_ left 09:14 jjido left 09:28 Sgeo left 09:54 razetime left 10:15 jjido joined, jjido left 10:17 sena_kun left 10:18 sena_kun joined
Nemokosch The documentation of Raku is already way better than the documentation of Typescript, that's for sure... 10:38
11:18 linkable6 left, evalable6 left 11:20 linkable6 joined 11:21 evalable6 joined 11:38 ocomport left 11:46 ocomport joined 11:58 ocomport left 12:06 reportable6 left 12:08 reportable6 joined 13:08 linkable6 left, evalable6 left 13:10 evalable6 joined 13:11 linkable6 joined 13:17 Geth left, Geth joined 13:21 Geth left, Geth joined, sena_kun left 13:23 sena_kun joined 13:36 Geth left, Geth joined 13:45 rbt joined 14:24 shareable6 left, unicodable6 left 14:25 evalable6 left, statisfiable6 left, bisectable6 left, statisfiable6 joined 14:26 shareable6 joined 14:27 unicodable6 joined, evalable6 joined 14:28 bisectable6 joined 14:48 rbt left, rbt joined 14:55 unicodable6 left, shareable6 left, evalable6 left, evalable6 joined 14:56 releasable6 left, vrurg left, shareable6 joined, vrurg joined, releasable6 joined 14:57 unicodable6 joined
Geth doc: bc64f20137 | Coke++ | doc/Type/Any.pod6
Note what happens in the case of no elements.

Closes #4030
15:04
linkable6 Link: docs.raku.org/type/Any
15:05 linkable6 left 15:08 linkable6 joined 15:13 monkey_ joined
Geth doc: ad9a53af14 | Coke++ | doc/Type/Slip.pod6
Note when Emptys are created

Closes #4017
15:15
linkable6 Link: docs.raku.org/type/Slip
15:15 linkable6 left 15:17 linkable6 joined 15:25 frost left 15:26 monkey_ left 15:33 rbt left, rbt joined, [Coke] left 15:36 [Coke] joined
Geth doc: 3de67873f7 | Coke++ | doc/Type/Promise.pod6
Note that &code is passed the Promise

include example
Closes #3974
15:37
linkable6 Link: docs.raku.org/type/Promise
15:38 linkable6 left 15:41 linkable6 joined 15:55 monkey_ joined 16:03 rbt left, rbt joined 16:16 n1to joined, dogbert11 joined 16:18 dogbert12 joined 16:19 dogbert17 left 16:20 dogbert11 left 16:29 dogbert17 joined 16:30 dogbert12 left 16:36 dogbert11 joined 16:38 dogbert17 left 16:51 dogbert17 joined 16:52 dogbert11 left 17:14 rbt left, rbt joined 17:17 dogbert17 left, zacts joined 17:25 guifa joined, dogbert17 joined 17:28 dogbert11 joined 17:29 rbt left, rbt joined 17:30 dogbert17 left 17:33 zacts left 17:35 n1to left, n1to joined 17:38 rbt left 18:04 rbt joined 18:08 reportable6 left 18:09 reportable6 joined 18:13 monkey_ left 18:27 Sgeo joined
drakonis github.com/alabamenhu/BasicTest i'm wondering how goto gets implemented here 18:40
18:45 euandreh left 18:46 dogbert17 joined 18:49 dogbert11 left
nine drakonis: looks like every BASIC line is compiled into a sub, so it's callable. A more advanced way would be to recognize the constructs that the GOTO is part of (e.g. loops or conditionals) and compile the code to those 18:51
drakonis cool 18:53
rakudo is still missing the ability to actually jump to arbitrary labels, right? 18:54
still getting a NYI for label.goto
18:57 dogbert11 joined
Geth Documentable/search-categories-streamlined: e2933402a7 | Altai-man++ | t/202-references.t
Bring back an innocent passing test
18:58
19:00 dogbert17 left
Geth Documentable: Altai-man++ created pull request #159:
Search categories streamlined
19:00
19:20 rbt left, rbt joined 19:21 dogbert17 joined 19:23 dogbert11 left 19:24 jjido joined 19:30 rbt left, rbt joined 19:32 dogbert11 joined 19:34 dogbert17 left 19:41 linkable6 left, committable6 left, greppable6 left, bloatable6 left, statisfiable6 left, evalable6 left, quotable6 left, notable6 left, benchable6 left, sourceable6 left, releasable6 left, unicodable6 left, coverable6 left, shareable6 left, reportable6 left, nativecallable6 left, bisectable6 left
drakonis i'm currently traipsing through raku tutorials and this is very fun 19:44
Geth doc: Altai-man++ created pull request #4051:
Search categories update
19:45
19:46 greppable6 joined 19:47 unicodable6 joined, sourceable6 joined, releasable6 joined, shareable6 joined, evalable6 joined 19:48 quotable6 joined, reportable6 joined, statisfiable6 joined, notable6 joined, bloatable6 joined, benchable6 joined 19:49 coverable6 joined, nativecallable6 joined, linkable6 joined, bisectable6 joined, committable6 joined 20:08 bd3i left 20:10 bd3i joined 20:13 bd3i left, bd3i joined 20:40 rbt left, rbt joined 20:48 euandreh joined 20:51 rbt left, rbt joined 21:06 rbt left, rbt joined 21:14 n1to left 21:16 rbt left, rbt joined 21:26 lichtkind_ joined 21:29 lichtkind left 21:54 dogbert11 left 21:56 dogbert11 joined 22:14 jjido left
guifa drakonis: as author of the module haha, I can say that nine is correct. If you look in the actions file, above the very verbose RakuAST code is a comment with the corresponding Raku code 22:15
drakonis haha i see
guifa there's a pointer variable called $BASIC-INDEX
drakonis it doesnt yet quite behave like basic should 22:16
guifa when you hit goto, it does $BASIC-INDEX = %BASIC-INDEX{$line}
22:16 lichtkind_ left
drakonis oh, huh, nice. 22:16
guifa where %BASIC-INDEX is a hash that stores the labeled BASIC lines to the indices in an array of statements
drakonis but real talk 22:17
i wanted to do TCO and implement the missing goto call on rakudo, where would i even begin with this? 22:18
guifa the main loop is ` while $BASIC-INDEX < X { @BASIC-LINES[$BASIC-INDEX].() } `
where X is the count of lines
drakonis i might need a bit of recursion for a build system i'm writing 22:19
that's a fancy trick
it also explains how to call a function stored in the list
guifa as to implementing GOTO, I'm not sure how far folks have thought out even how it would look like. e.g. scoping and what not
drakonis speaking of, that list contains strings?
i think there's already some level of GOTO support but not for jumping to arbitrary labels 22:20
docs.raku.org/type/Label 22:21
only available inside control flow such as loops
not much there.
guifa yeah, it's not really a proper goto
moon-child afaik goto is nyi 22:22
guifa For the description of goto in Raku you'd need to go to the design docs
drakonis doesn't nqp provide that either?
design.raku.org/S04.html#The_goto_statement
i remember seeing something on nqp regarding goto 22:23
guifa if it does exist, it's not been documented yet
drakonis the instruction exists
its very much not documented 22:25
moarvm also implements it but it isnt exposed to nqp yet 22:26
github.com/Raku/nqp/blob/master/sr...nsMAST.nqp
work to be done i see 22:28
SmokeMachine I've finally found a way to use the `subset` keyword to create my submodules! The `of` on the subset creator is a trait, so I can use a different treat there... So I've created `is sub-model` trait on Red. Now you can do `subset Admin is sub-model of User where *.role eq "admin"`, like this: twitter.com/smokemachine/status/15...7APBzma-eA 22:39
22:42 rbt left, rbt joined 22:54 melezhik joined, melezhik left 22:57 melezhik joined 23:02 melezhik left 23:40 Manifest0 left