This channel is intended for people just starting with the Raku Programming Language (raku.org). Logs are available at irclogs.raku.org/raku-beginner/live.html
Set by lizmat on 8 June 2022.
02:30 razetime joined 02:46 razetime left 03:54 Heptite left 04:32 Kaiepi left 05:04 razetime joined
jaguart m: Attribute.^methods 05:29
camelia ( no output )
jaguart m: say Attribue.^methods;
camelia ===SORRY!=== Error while compiling <tmp>
Undeclared name:
Attribue used at line 1. Did you mean 'Attribute'?
jaguart m: say Attribute.^methods;
camelia (The 'ForeignCode' class is a Rakudo-specific implementation detail and has no serviceable parts inside The 'ForeignCode' class is a Rakudo-specific implementation detail and has no serviceable parts inside The 'ForeignCode' class is a Rakudo-specific…
jaguart was expecting: compose apply_handles get_value set_value container readonly package inlined dimensions WHY set_why Str gist 05:30
m: say Attribute.^methods(:local).map(*.name) 05:32
camelia (<anon> <anon> <anon> <anon> <anon> <anon> <anon> <anon> <anon> <anon> <anon> <anon> <anon> <anon> <anon> <anon> <anon> <anon> <anon> <anon> <anon> <anon> <anon> <anon> compose apply_handles get_value set_value container readonly package inlined dimen…
jaguart how do I call a method named in a string on an object? 06:59
I want to say something like: $o.$m() where $m contains the name of a method 07:02
I tried: $o.&{$m} and $o.$m() 07:03
CIAvash `$o."$m"()`? 07:53
jaguart CIAvash++ - thank you 08:38
oh - in my actual use-case I get: only basic method calls that exclusively use a dot can be detached 08:40
actually - that was a type - works for me, thanks! 08:50
09:49 Kaiepi joined 12:05 Heptite joined 12:06 razetime left 15:49 Kaiepi left, Kaiepi joined 16:50 Heptite left 18:19 Kaiepi left, Kaiepi joined 20:08 Heptite joined 23:48 habere-et-disper joined
habere-et-disper The REPL always complains about not finding Readline which is installed. Am I missing some setup? 23:50
It's looking in '/usr/local/opt/readline/lib' and Readline appears installed elsewhere.
The error is: "Failed to get the directory contents of '/usr/local/opt/readline/lib': Failed to open dir: No such file or directory" 23:51
(That's the REPL complaining.)