🦋 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:07 reportable6 left 00:10 reportable6 joined 01:10 reportable6 left, quotable6 left, squashable6 left, unicodable6 left, committable6 left, evalable6 left, linkable6 left, notable6 left, coverable6 left, greppable6 left, nativecallable6 left, shareable6 left, tellable6 left, sourceable6 left, benchable6 left, bisectable6 left, statisfiable6 left, bloatable6 left, releasable6 left, reportable6 joined, notable6 joined, statisfiable6 joined, linkable6 joined, tellable6 joined, greppable6 joined 01:11 shareable6 joined, evalable6 joined, bisectable6 joined, releasable6 joined, coverable6 joined, nativecallable6 joined 01:12 committable6 joined, benchable6 joined, quotable6 joined, squashable6 joined 01:13 unicodable6 joined, bloatable6 joined, sourceable6 joined 01:16 habere-et-disper joined 01:33 Kaipei left 01:50 timo left 02:05 timo joined 02:12 timo left 02:28 habere-et-disper left 02:43 timo joined 03:20 bigdata joined, bigdata left 04:20 greppable6 left, evalable6 left, bisectable6 left, coverable6 left, statisfiable6 left, bloatable6 left, tellable6 left, unicodable6 left, shareable6 left, benchable6 left, notable6 left, nativecallable6 left, committable6 left, reportable6 left, linkable6 left, sourceable6 left, releasable6 left, squashable6 left, quotable6 left 04:21 quotable6 joined, benchable6 joined, statisfiable6 joined, reportable6 joined, bisectable6 joined, nativecallable6 joined, squashable6 joined 04:22 shareable6 joined, tellable6 joined, evalable6 joined, greppable6 joined, bloatable6 joined, notable6 joined 04:23 committable6 joined, releasable6 joined, linkable6 joined, sourceable6 joined, coverable6 joined, unicodable6 joined 05:13 xinming left 05:15 xinming joined 06:07 reportable6 left 06:09 reportable6 joined 06:21 xinming left 07:01 Kaipei joined 07:12 MoC joined 07:23 xinming joined, abraxxa joined 07:38 abraxxa left, abraxxa joined 07:42 abraxxa left 07:44 abraxxa-home joined, labster joined 08:12 razetime joined 08:14 lichtkind joined 08:24 epony left 08:29 xinming left
Nemokosch hello github.com/Raku/atom-language-perl6 does anybody know about the fate of this package? 08:51
We know about the fate of Atom itself, however the new docs site seems to use this for syntax highlight
08:59 Kernspin left 09:00 Kernspin joined 09:05 Abhoerschutz left 09:06 Abhoerschutz joined
El_Che I think VSC ate atoms lunch (both being own by MS) 09:15
09:16 epony joined
Nemokosch Yes, I know... but as I said, the docs site uses it for syntax highlighting, and I don't see a quick replacement 09:18
so it's a kinda unrelated use to Atom itself
(I do think Atom was a disappointing editor that got rightfully blown away by VSC if that matters lol)
09:43 razetime left 09:52 sena_kun joined 10:12 Xliff joined 10:19 razetime joined 10:32 xinming joined 10:50 labster left 10:54 xinming left 11:51 Woodi joined 12:06 reportable6 left 12:07 reportable6 joined 12:37 xinming joined 13:07 MoC left 13:22 habere-et-disper joined 13:29 sena_kun left 13:30 sena_kun joined
tonyo wasn't atom pretty lightweight ? 13:43
13:51 xinming left 13:55 xinming joined
nine Atom is Chromium + nodejs. How could that ever be lightweight? 14:05
14:08 habere-et-disper left 14:21 Xliff left
Nemokosch Atom was powerless, not the same as lightweight 14:22
VSC, the bad parts
14:44 lizmat_ joined
guifa I still can't believe my number formatter code is 100ish lines. Debating between speed and elegance for properly handling negative numbers and...... sadly going to probably have to go with speed :-( 14:48
14:48 lizmat left 14:54 derpydoo joined 15:02 irc_user joined
tonyo nine: seems more lightweight than VSC, but i haven't used an IDE in 15+ years now so what do i know 15:27
15:38 MoC joined 15:51 derpydoo left 16:13 habere-et-disper joined 16:50 haxxelotto left 16:52 haxxelotto joined
Nemokosch Anyway... does anyone know anything about the state of that package? 17:03
17:08 haxxelotto left 17:10 haxxelotto joined
drakonis syndicate-lang.org/ this is an interesting concurrency model 17:11
17:12 euandreh left 17:30 osmano807 joined 17:40 razetime left
osmano807 Anyone has instability problems with Comma IDE? Suddenly, Grammar Preview fails to compile grammar 17:56
18:07 reportable6 left
lizmat_ did you upgrade Comma or Rakudo ? 18:08
18:10 reportable6 joined
osmano807 No version changes, but the grammar grew bigger and produces correct output on executable run 18:12
lizmat_ hmmm did you change anything in the grammar ? 18:14
osmano807 added some proto rules 18:15
lizmat_ I suggest taking them out and then adding them in again one by one and report the one that is causing issue 18:18
18:18 lizmat_ is now known as lizmat 18:19 lizmat left, lizmat joined 18:29 rypervenche joined 19:05 sena_kun left 19:06 sena_kun joined 19:09 abraxxa-home left 19:11 johnjaye left 19:13 johnjaye joined 19:19 MoC left 19:26 habere-et-disper left 20:03 haxxelotto left 20:05 haxxelotto joined 20:13 osmano807 left 20:32 irc_user left
Nemokosch Interesting behavior spotted 20:50
20:51 Nemokosch joined
Nemokosch m: sub demo(@ is rw) { say 'Yee-haw'; }; demo; 20:52
camelia Too few positionals passed; expected 1 argument but got 0
in sub demo at <tmp> line 1
in block <unit> at <tmp> line 1
Nemokosch okay, so far so good
perryprog Yee-haw 20:53
Nemokosch (not quite - because the demo function should have generated a message)
sub demo(@ is rw) { say 'Yee-haw'; }; demo (1, 2, 3);
m: sub demo(@ is rw) { say 'Yee-haw'; }; demo (1, 2, 3);
camelia Parameter '<anon>' expects a writable container (variable) as an
argument, but got '(1 2 3)' (List) as a value without a container.
in sub demo at <tmp> line 1
in block <unit> at <tmp> line 1
Nemokosch now it's getting interesting - it performed a reasonable check that it would refuse usually
m: sub demo(@ is rw) { say 'Yee-haw'; }; demo [1, 2, 3]; 20:54
camelia Parameter '<anon>' expects a writable container (variable) as an
argument, but got '[1 2 3]' (Array) as a value without a container.
in sub demo at <tmp> line 1
in block <unit> at <tmp> line 1
Nemokosch okay - this is the first lie
m: my @demo = 1, 2, 3; sub demo(@ is rw) { say 'Yee-haw'; }; demo @demo; 20:55
camelia Parameter '<anon>' expects a writable container (variable) as an
argument, but got '[1 2 3]' (Array) as a value without a container.
in sub demo at <tmp> line 1
in block <unit> at <tmp> line 1
Nemokosch serious lies going on
what happens if I name the variable? let's find out...
m: my @demo = 1, 2, 3; sub demo(@p is rw) { say 'Yee-haw'; }; demo @demo;
camelia ===SORRY!=== Error while compiling <tmp>
For parameter '@p', '@' sigil containers don't need 'is rw' to be writable
Can only use 'is rw' on a scalar ('$' sigil) parameter, not '@p'
at <tmp>:1
Nemokosch suddenly it complains about the sigil! 20:56
something seems broken here...
am I correctly assuming this is a bug?
21:16 sena_kun left 21:22 Nemokosch left 21:26 haxxelotto left 21:33 haxxelotto joined 21:46 haxxelotto left 21:54 haxxelotto joined 22:02 haxxelotto left 22:06 haxxelotto joined
guifa "...but got '[1 2 3]' (Array) as a value without a container" — this is accurate, though. You could not, for instance, bind to that array because the array is a literal/constant (although its values are not) 22:07
I think you have stumbled on something though
which is where Raku is trying to do some things intuitively / ugard for stuff, but maybe could use some better guidance (also, frankly, I've never felt that is rw should be seen as a warning for @ and %, not an error) 22:08
Nemokosch @demo was not "a value without a container" 22:11
actually, not even `[1, 2, 3]` was, in my opinion. `[1, 2, 3].VAR.WHAT` returns (Array), can't even unwrap it
22:12 haxxelotto left
this terminology (along with `is rw`) pretends the only container is the Scalar container 22:15
anyway - I don't think the behavior should suddenly change when you give the parameter a name?
22:19 haxxelotto joined 22:47 labster joined 23:01 [Coke]__ joined 23:04 [Coke] left 23:13 lichtkind left 23:17 Kaipei left 23:22 labster left 23:39 deoac joined 23:46 z4kz joined 23:52 deoac left 23:54 frost1 joined