03:06
stanrifkin_ joined
03:08
stanrifkin left
06:53
sibl joined
|
|||
sibl | m: "it works !".say | 06:53 | |
camelia | it works ! | ||
sibl | m: subset Odd of UInt where * > 5; say Odd(56) + Odd(-3); | 07:32 | |
camelia | 53 | ||
sibl | how come this works ? | ||
m: subset Even of UInt where * %% 2; say Even(51) + Even(-3); | 07:36 | ||
camelia | Impossible coercion from 'Int' into 'Even': method Int returned an instance of Int in block <unit> at <tmp> line 1 |
||
sibl | m: subset Odd of UInt where * %% 2; say Odd(56) + Odd(-3); | 07:39 | |
camelia | 53 | ||
disbot3 | <librasteve> sibl: possibly this is a compiler bug, please can you raise an issue in the rakudo repo? | 07:50 | |
sibl | added: github.com/rakudo/rakudo/issues/5965 | 09:52 | |
disbot3 | <librasteve> tx! | ||
10:04
sibl left
10:47
librasteve_ joined
|
|||
ds7832 | docs.raku.org/language/operators#infix_.= In this section, I have difficulty understanding what exactly is meant by the "postfix mutator". Could someone please explain? | 15:00 | |
15:04
human-blip left
15:06
human-blip joined
15:22
arkiuat joined
|
|||
arkiuat | ds7832, that's a great question. I think perhaps the wording of that part of the doc should perhaps be clarified. | 15:22 | |
I'd submit a pull request right now if I was certain what it was trying to say there, but I'm still unclear on it myself. | 15:23 | ||
disbot3 | <librasteve> this is the postfix mutator docs.raku.org/language/operators#methodop_.= your link shows that the precedence of $a.=abs is a little different to that of $a .= abs (note that the difference between postfix and infix is just the use of whitespace) | 15:33 | |
<librasteve> tbh I donāt think the wording is too bad, but perhaps cross linking to the other operator would clarify (please submit a PR on the docs site if you wish) | 15:34 | ||
ds7832 | Ah, this makes things very clear. | 15:37 | |
I'm writing on a PR now. | 15:41 | ||
15:49
arkiuat left
15:57
librasteve_ left
16:01
arkiuat joined
16:06
arkiuat left
16:09
human-blip left
16:11
human-blip joined
|
|||
ds7832 | Here it is :) docs.raku.org/language/operators#infix_.= | 16:28 | |
uh, here github.com/Raku/doc/pull/4630 | |||
thanks for your help | 16:30 | ||
16:36
arkiuat joined
16:41
arkiuat left
16:50
arkiuat joined
17:40
arkiuat left
17:54
arkiuat joined
18:07
arkiuat left
|
|||
disbot3 | <neekotism> How can I check if a websocket connection is closed? Cro | 18:19 | |
18:20
jgaz joined
18:21
jgaz left
18:36
arkiuat joined
18:41
arkiuat left
18:55
habere-et-disper joined
19:08
lnnk joined,
jgaz joined,
arkiuat joined
|
|||
lnnk | Is raku simular to perl 5 or completely different? | 19:09 | |
19:13
arkiuat left
|
|||
ds7832 | Similar in spirit I would say (both have been chiefly designed by Larry Wall, after all), but different in lots of places. You can take a look at docs.raku.org/language/5to6-nutshell | 19:13 | |
19:13
rantanplan is now known as snonux
|
|||
ds7832 | Do you come from a specific background programming-wise? | 19:20 | |
lnnk | Learning perl for a week now.I have Java and kotlin android app development background | 19:22 | |
stanrifkin_ | I've always thought of Perl as portable Unix. And Raku as Perl on steroids. | 19:25 | |
lnnk | I herd about raku From some irc group.and came here.is there a active raku community? | 19:26 | |
stanrifkin_ | It's here I would say | 19:28 | |
raku.org/nav/1/community | |||
lnnk | Are new programmes and software being written in this language? | 19:34 | |
stanrifkin_ | In Raku? | 19:35 | |
disbot3 | <librasteve> there are a lot of coders enjoying raku for personal projects and contributing to the raku module ecosystem (take a look at the weekly back issues to get an idea of the level of activity rakudoweekly.blog/blog-feed/) | 19:39 | |
lnnk | Yes in raku.I heard pearl is dead no new softwares are being created | 19:40 | |
disbot3 | <librasteve> there are a handful of commercial projects - often these are where perl used to shine such as ad hoc scripts and so on - but raku adoption in business is not yet well established (so not really a jobs market) | 19:41 | |
<librasteve> since the ecosystem is relatively new - there is an open invitation to get involved and collaborate - either at the core level (where work on RakuAST is the current focus) or to flesh out the ecosystem if you are more interested in that | 19:43 | ||
19:43
habere-et-disper left
19:45
arkiuat joined
19:50
arkiuat left
19:52
arkiuat joined
19:56
arkiuat left
|
|||
ds7832 | What I find most motivating about Raku is that it has a good chance of raising the productivity of the open-source community at large: web.archive.org/web/20230322225205...anifesto-3 | 19:56 | |
That, and it being just an extremely well-designed language with pleasant things at every corner | 19:59 | ||
lnnk | Ok thank you ruku successor of perl 5.new ecosystem. | 20:02 | |
20:10
arkiuat joined
20:17
habere-et-disper joined
20:39
arkiuat left
20:47
lnnk left
20:52
arkiuat joined
21:02
arkiuat left
21:05
arkiuat joined
22:09
arkiuat left
22:23
arkiuat joined
22:27
arkiuat left
22:47
arkiuat joined
22:51
arkiuat left
23:09
arkiuat joined
23:14
arkiuat left
23:16
habere-et-disper left
23:31
arkiuat joined
23:36
arkiuat left
23:49
arkiuat joined
|