00:25 cryosis left 00:27 cryosis joined 00:58 rba left, rba joined 01:46 stanrifkin left 02:02 xelxebar left, xelxebar joined 02:32 kylese joined, hulk left 02:33 andinus left, andinus joined 02:58 lucerne90 left, lucerne90 joined 03:15 kylese left, kylese joined 04:50 lichtkind__ joined 04:53 lichtkind_ left 05:00 jdv left, jdv joined 05:03 jast left 05:04 jargan joined 05:06 lizmat_ joined 05:09 lizmat left 05:26 Ekho left 05:36 Ekho joined 06:40 Aedil joined 07:30 dmvrtx left 07:31 Sgeo left 07:32 dmvrtx joined 08:22 abraxxa joined 08:27 thaewrapt left 08:28 thaewrapt joined, thaewrapt left, thaewrapt joined 08:34 abraxxa1 joined 08:37 abraxxa left 08:57 mc2 left, mc2 joined, mc2 left, mc2 joined 09:05 ilogger2 left 09:06 ilogger2 joined 09:16 dakkar joined 09:23 icovnik joined
icovnik hello all 09:26
I'd like to ask a quick question
I am trying to use Raku for a small project and I don't know how to get lazy class attributes 09:27
I mean that attributes got its value later, when I first use it 09:28
something like Perl's Moo: "has attrname => (is => "lazy");" and then "sub _build_attrname ..." 09:29
in Perl I use it all the time but I can't find this in Raku's docs 09:30
10:00 phogg left, phogg joined
timo we have a module in the ecosystem for that 10:02
raku.land/zef:vrurg/AttrX::Mooish this has lazy attributes, raku.land/zef:jonathanstowe/Attribute::Lazy this has lazy attributes, and I seem to recall liz also has one but I didn't find it from just searching "lazy" 10:07
10:08 lizmat_ left
timo ah, i was misremembering this github.com/lizmat/Object-Delayed which isn't the same as lazy attributes 10:08
10:08 lizmat joined 10:19 abraxxa joined 10:22 abraxxa1 left 10:26 icovnik left 10:36 masayoshi joined, masayoshi left 11:13 icovnik joined 11:20 Voldenet_ joined 11:21 Voldenet left, Voldenet_ is now known as Voldenet 11:29 librasteve_ joined
librasteve hi! I am hoping to add BScan's new VS code Language Server to the raku.org/tools page - but prior to that I would like to do minimal QA - please can someone who uses VSCode try this and check that all works fairly well? 11:39
feedback to this GH issue please - github.com/Raku/raku.org/issues/295 11:40
11:51 sftp joined, sftp left, sftp joined 12:03 Aedil left 12:20 tinita_ left, tinita joined 12:25 sftp left 13:18 dg left 13:19 dg joined 13:25 dg left 13:51 Aedil joined 14:00 abraxxa1 joined 14:03 abraxxa2 joined 14:04 abraxxa left 14:05 abraxxa3 joined
ugexe You can grep irc logs to confirm it has worked for years 14:06
14:07 abraxxa1 left
ugexe It isn’t new 14:07
14:08 abraxxa2 left
antononcube @icovnik See to what classes the method .is-lazy applies in the documentation. 14:25
docs.raku.org/routine/is-lazy
14:47 camelia left 14:48 camelia joined 15:01 camelia left 15:02 camelia joined 15:11 camelia left 15:12 camelia joined 15:22 camelia left 15:23 camelia joined
lizmat weekly: dev.to/lizmat/method-not-found-fallback-5cn8 15:23
notable6 lizmat, Noted! (weekly)
lizmat and another UPPERCASE entity bytes the dust.... only 60+ left to go 15:24
*bites :) 15:25
15:33 camelia left 15:34 camelia joined 15:38 abraxxa joined 15:41 abraxxa3 left 15:43 camelia left 15:44 camelia joined 15:54 camelia left 15:55 camelia joined 16:05 camelia left 16:06 camelia joined 16:15 camelia left 16:16 camelia joined 16:21 stanrifkin joined 16:26 camelia left 16:27 camelia joined 16:37 camelia left 16:38 camelia joined 16:41 abraxxa left 16:47 camelia left 16:48 camelia joined 16:50 human_blip left 16:52 human_blip joined 16:58 camelia left 16:59 camelia joined 17:08 eseyman left 17:09 camelia left 17:10 camelia joined 17:11 manu_ joined 17:12 manu_ is now known as eseyman 17:19 camelia left 17:20 camelia joined
icovnik timo: AttrX::Mooish does the trick, exactly what I wanted 17:27
timo: thank you
17:29 camelia left 17:30 camelia joined 17:34 icovnik left
[Coke] \o/ 17:36
17:38 dakkar left 17:39 camelia left 17:40 camelia joined 17:49 librasteve_ left, camelia left 17:50 camelia joined
timo you're welcome! 17:59
17:59 camelia left 18:00 camelia joined 18:09 camelia left 18:10 camelia joined 18:19 camelia left 18:20 camelia joined 18:21 stanrifkin left
bscan @librasteve , the Raku Navigator Language Server is already on the raku tools page. My recent updates were about adding features, like code formatting, workspace symbols, find references, etc. Also could be noted that it works in almost all editors, not just vscode. 18:25
18:29 camelia left 18:30 camelia joined 18:39 camelia left 18:44 camelia joined
librasteve @bscan aaah … for some reason I got the impression this is new, anyway hopefully mentioning in the weekly will get some more happy users - I’m not sure how to word “works in almost all editors - would I be right in guessing that vi, emacs, etc have LSP plugins that can load it? please could you suggest some words so that I get it right? 19:01
bscan Emacs and neovim both have built-in support for LSP, and I believe vim-lsp is the dominant plug-in for vim. Setting it up is not always trivial, but someone added a config for neovim: github.com/neovim/nvim-lspconfig/b...igator.lua 19:14
As for how to describe it, here's how zig presents their tooling. They use the term "editor-agnostic", which is nice. ziglang.org/learn/tools/ 19:18
aruniecrisps I have this running in vim right now 19:37
19:50 abraxxa joined
librasteve thanks both! 20:09
20:20 linkable6 left, linkable6 joined 20:21 quotable6 left, quotable6 joined, benchable6 left, benchable6 joined 20:40 dg joined 20:59 unicodable6 left, unicodable6 joined, bobv joined 21:04 bobv left 21:24 librasteve_ joined 22:02 abraxxa left 22:19 Aedil left