🦋 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.
poohman m: say "hello" 17:33
camelia hello
tellable6 2023-08-02T07:00:23Z #raku <siavash> poohman `my &test_modified = &test.assuming: @a;`
poohman m: my @test =[1 2 4] 17:34
camelia ===SORRY!=== Error while compiling <tmp>
Two terms in a row
at <tmp>:1
------> my @test =[1⏏ 2 4]
expecting any of:
infix
infix stopper
statement end
statement modifier
state…
poohman m: my @test; 17:35
camelia ( no output )
poohman @test.append(5)
say @test
m: @test.append(5)
camelia ===SORRY!=== Error while compiling <tmp>
Variable '@test' is not declared. Perhaps you forgot a 'sub' if this
was intended to be part of a signature?
at <tmp>:1
------> <BOL>⏏@test.append(5)
poohman m: my @test; @test.append(5) 17:36
camelia ( no output )
poohman m: my @test; @test.append(5); say @test;
camelia [5]
poohman m: my @test; @test.append(5);@test.append(6) say @test; 17:37
camelia ===SORRY!=== Error while compiling <tmp>
Two terms in a row
at <tmp>:1
------> y @test; @test.append(5);@test.append(6)⏏ say @test;
expecting any of:
infix
infix stopper
statement end
poohman m: my @test; @test.append(5);@test.append(6);say @test;
camelia [5 6]
poohman m: my @test; @test.append(5);@test.append(6);@test[0].append(8);say @test; 17:38
camelia Cannot resolve caller append(Int:D: Int:D); none of these signatures matches:
(Any:U \SELF: |values)
in block <unit> at <tmp> line 1
poohman Strange
I had this error message only when tried @test[1].append(), it worked for @test[0].append in my REPL 17:39
m: my @test; @test.append(5);@test.append(6);@test[0].append(8);say @test[0].WHICH; 17:40
camelia Cannot resolve caller append(Int:D: Int:D); none of these signatures matches:
(Any:U \SELF: |values)
in block <unit> at <tmp> line 1
poohman m: my @test; @test.append(5);@test.append(6);@test[0].append(8);say @test[0]; 17:41
camelia Cannot resolve caller append(Int:D: Int:D); none of these signatures matches:
(Any:U \SELF: |values)
in block <unit> at <tmp> line 1
poohman m: my @test; @test.append(5);@test.append(6);@test[0].append(8);say @test;
camelia Cannot resolve caller append(Int:D: Int:D); none of these signatures matches:
(Any:U \SELF: |values)
in block <unit> at <tmp> line 1
poohman m: my @test; @test.append(5);@test.append(6);say @test[0].WHICH;
camelia Int|5
poohman I somehow made @test[0] also an array in my REPL 17:42
m: my @test; @test.append(5);my @test1 = @test,5;@test.append(6);say @test[0].WHICH; 17:43
camelia Int|5
poohman m: my @test; @test.append(5);my @test1 = @test,5;@test.append(6);say @test1[0].WHICH;
camelia Array|6477495559048
poohman ok got it
sorry for making a mess, wanted to earnestly ask a question 17:44
tbrowder__ hi, i'm getting core dumps again. are there any ways with a modern raku to analyze it? 21:25
i have tried running with -ll-exception with no results at all 21:26
i have not tried jnthn's old module because of its warning about being old. 21:27
but i'll give it a try now... 21:28