[00:59] *** sibl joined
[03:41] *** human-blip left
[04:10] *** sibl left
[04:12] *** sibl joined
[04:21] *** sibl left
[04:21] *** sibl joined
[04:44] <disbot4> <librasteve> m: my @a=1,2,3; for @a -> $x {$x=42};

[04:44] <disbot4> <Raku eval>  Exit code: 1 Cannot assign to a readonly variable or a value   in block <unit> at main.raku line 1  

[04:50] <disbot4> <librasteve> m: my @a=1,2,3; for @a -> $x is copy {$x=42}; say @a

[04:50] <disbot4> <Raku eval>  [1 2 3] 

[04:51] <disbot4> <librasteve> m: my @a=1,2,3; for @a -> $x is really {$x=42}; say @a

[04:51] <disbot4> <Raku eval>  Exit code: 1 ===SORRY!=== Error while compiling /home/glot/main.raku Can't use unknown trait 'is' -> 'really' in a parameter declaration. at /home/glot/main.raku:1     expecting any of:         rw         readonly         copy         required         raw         leading_docs         trailing_docs 

[04:51] <disbot4> <librasteve> m: my @a=1,2,3; for @a -> $x is rw {$x=42}; say @a

[04:51] <disbot4> <Raku eval>  [42 42 42] 

[04:53] <disbot4> <librasteve> the default trait for all block parameters is “is ro” (read only), Raku is “strangely consistent” so does matter whether that’s a pointy or a regular sub declaration

[05:30] <disbot4> <simon_sibl> anyone would be able to help me with this, I get an error I am not sure what it means about NFA statelist: https://glot.io/snippets/hj6liwdsmp

[05:30] <disbot4> <simon_sibl> is it something obvious ?

[05:59] <disbot4> <simon_sibl> https://glot.io/snippets/hj6mbv0ip1

[05:59] <disbot4> <simon_sibl> this works !

[05:59] <disbot4> <simon_sibl> without :sym

[05:59] <disbot4> <librasteve> i just golfed your error to <[-*_]> ** 3..*

[06:01] <disbot4> <librasteve> something to do with the last *

[06:01] *** sibl left
[06:02] <disbot4> <librasteve> smells like a bug to me

[06:03] *** sibl joined
[06:04] <disbot4> <simon_sibl> aaaah indeed

[06:04] <disbot4> <simon_sibl> the range

[06:04] <disbot4> <librasteve> this gives a (related?) different error <[-*_]> ** (3..*)

[06:05] <disbot4> <librasteve>  Quantifier quantifies nothing at /Users/stephenroe/scum/scum.raku:13 ------>    <[-*_]> **⏏(3..*)  

[06:05] <disbot4> <librasteve> suggest you file this as a rakudo Issue ... (unless someone smarter than me comes by and sets me right)

[06:23] *** sibl left
[06:24] *** sibl joined
[06:28] <disbot4> <simon_sibl> I will see if anyone today can find the reason, otherwise I will open an issue, in the meantime I use 3..99 😆

[06:28] <disbot4> <simon_sibl> 30 Raku lines for a basic Markdown, pretty nice

[06:34] <disbot4> <librasteve> 👍

[07:49] *** sibl left
[07:54] *** sibl joined
[08:11] *** sibl left
[08:17] *** sibl joined
[08:49] <disbot4> <simon_sibl> https://github.com/4zv4l/rmk/blob/main/rmk.raku tadaaaaa 😆 any criticism are welcome to improve my skills

[09:22] <disbot4> <librasteve> very nice!

[09:24] <lizmat> .oO( for bonus points: create an action class that converts to ePub  :-)

[09:24] <lizmat> but seriously, cool work!

[09:32] <disbot4> <librasteve> definitely … the Air module depends on Text::Markdown which really is too picky about what it accepts compared to github markdown but it was the most pragmatic solution at the time

[09:37] <disbot4> <librasteve> ideally i would like Air to be able to inline markdown as a slang … so since you have a grammar (unlike Text::Markdown) my challenge is to make a Slang that issues HTML … double brownie points if it uses Air::Functional

[09:38] <disbot4> <librasteve> in line with John Gruber original notion “Markdown is essentially a human-friendly shorthand for HTML.”

[09:39] <disbot4> <librasteve> the slang part is just a couple of lines based on the Slangify module btw (instructions are provided)

[09:59] *** sibl left
[10:11] <disbot4> <simon_sibl> I never touched slangs, I’ll take a look at slangify, basically you want to allow to write markdown as Raku code (kinda like a dsl) ? That would be translated to html

[10:14] <disbot4> <librasteve> im cool to write the HTML generation Actions (if you like) - to best collaborate, suggest you place in some (github.com or similar) repo then i can fork and make a PR

[10:32] <disbot4> <simon_sibl> I am good to do anything to contribute honestly, bonus point if other people also help, so that I can learn more

[10:32] <disbot4> <librasteve> great

[11:34] <disbot4> <simon_sibl> hmmm not sure to figure out Slangify works or how to do this correctly: https://glot.io/snippets/hj6vkfr40h and AI isnt helping much xD

[11:52] *** librasteve_ left
[14:27] *** librasteve_ joined
[15:01] *** human-blip joined
[15:57] *** human-blip left
[15:59] *** human-blip joined
[16:37] *** librasteve_ left
[20:31] *** Guenter joined
[20:36] *** Guenter left
[20:36] *** Guenter joined
[20:36] *** Guenter left
