|
🦋 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. |
|||
|
00:35
david7832 left
00:49
dg left
00:53
sibl joined
00:58
dg joined
02:08
sibl left
02:30
nine left,
nine joined
02:50
hulk joined
02:51
kylese left
03:07
sibl joined
03:15
hulk left,
kylese joined
03:26
ShimmerFairy left,
ShimmerFairy joined
03:44
sibl left,
sibl joined
04:02
sibl left,
sibl joined
04:18
[Coke] joined
04:30
guestll joined
04:41
human-blip left
05:42
johnjay left
05:51
guestll left
06:31
Aedil joined
06:54
sibl left
06:55
sibl joined
07:04
Sgeo left
07:06
oodani left
07:08
johnjay joined
07:11
oodani joined
07:13
johnjay left,
johnjay joined
07:29
sibl left
07:32
guestll joined
07:46
sibl joined
08:01
abraxxa joined
08:04
abraxxa left
08:14
guestll left
08:47
librasteve_ joined
08:50
sibl left,
sibl joined
08:56
sibl left
09:00
sibl joined
09:05
dakkar joined
09:38
nine left,
camelia left
09:50
sibl left
09:55
ourson joined,
ourson left
10:07
nine joined
10:12
nine left
10:31
sibl joined
11:05
sibl left
11:24
sibl joined
11:33
sibl left
11:43
nine joined
|
|||
| patrickb | m: my (%a, @b, %c, @d) = (1, 2).map({ |({"a" => 1}, [1]) }); | 11:47 | |
| evalable6 | (exit code 1) Odd number of elements found where hash initializer expected: Found 5 (implicit) elements: Last element seen: $[1] in block <unit> at /tmp/mj28Umzjmp line 1 |
||
| patrickb | How can I get the above to fill the two hashes and arrays? | ||
| lizmat | m: dd (1, 2).map({ |({"a" => 1}, [1]) }) | 11:56 | |
| evalable6 | ({:a(1)}, [1], {:a(1)}, [1]).Seq | ||
| lizmat | m: my (%a, @b, %c, @d) := (1, 2).map({ |({"a" => 1}, [1]) }); dd %a, @b, %c, @d | 11:58 | |
| evalable6 | {:a(1)} [1] {:a(1)} [1] |
||
| lizmat | use binding instead of assignment ? | ||
| patrickb | Ow. That's a quick fix. Is there documentation around assignment vs binding? (I obviously still have much to learn...) | 12:07 | |
| Oh, and thanks for the quick help! | |||
|
12:11
sibl joined
12:35
camelia joined
12:40
guestll joined
|
|||
| Geth | CCR/main: b3d24284eb | (Elizabeth Mattijsen)++ | Remaster/Carl Mäsak/Raku-is-my-MMORPG.md Different rendering of IRC conversation |
13:41 | |
|
13:41
guestll left
|
|||
| Geth | CCR/main: a32b2db363 | (Elizabeth Mattijsen)++ | Remaster/Carl Mäsak/Raku-is-my-MMORPG.md Revert rendering of IRC conversation, add LearningCurve image |
13:45 | |
|
13:53
guestll joined
14:37
eseyman left
14:39
manu_ joined
14:41
manu_ is now known as eseyman
15:58
abraxxa joined
16:14
abraxxa left
|
|||
| Geth | CCR/main: 3cf3af326d | (Elizabeth Mattijsen)++ | Remaster/Carl Mäsak/README.md Add announcement of November |
16:38 | |
|
16:38
lizmat left
16:50
lizmat joined
16:55
sp1983 joined
|
|||
| Geth | CCR/main: 6af0eb8a6e | (Elizabeth Mattijsen)++ | Remaster/Carl Mäsak/Announcing-November-a-wiki-in-Raku.md Actually add the November announcement blog post |
17:00 | |
| CCR/main: cf1b070248 | (Elizabeth Mattijsen)++ | Remaster/Carl Mäsak/youre-in-a-space-of-twisty-little-mazes-all-alike.md Conform twisty maze blog post to standard format |
17:06 | ||
|
17:08
sp1983 left
17:15
guestll left
17:20
sp1983 joined
17:24
sp1983 left
|
|||
| Geth | CCR/main: dde6832104 | (Elizabeth Mattijsen)++ | 7 files 5 Masak posts from 2008 |
17:33 | |
|
17:35
dakkar left
17:42
sibl left
|
|||
| Geth | CCR/main: ba4ae00648 | (Elizabeth Mattijsen)++ | 17 files Add another 14 blog posts by masak from 2008 |
18:18 | |
| CCR/main: 5af041ec2e | (Elizabeth Mattijsen)++ | 5 files Another 4 Masak blog posts |
18:28 | ||
| CCR/main: 021d921aa7 | (Elizabeth Mattijsen)++ | 36 files Complete the November 2008 series |
19:12 | ||
| lizmat | that's 40 blog posts now, only 342 to go | 19:13 | |
| Voldenet | m: my (%a, @b, %c, @d) Z= (1, 2).map({ |({"a" => 1}, [1]) }); say {:%a,:@b,:%c,:@d} # patrickb | 19:36 | |
| camelia | {a => {a => 1}, b => [1], c => {a => 1}, d => [1]} | ||
|
19:41
Sgeo joined
|
|||
| disbot2 | <antononcube> @lizmat Your RakuAST articles "worked" -- OpenAI ChatGPT Codex was able to produce working code that translates LaTeX to Raku. | 20:10 | |
| <antononcube> Some of the generated code is "not Raku enough", but otherwise adhering to expected forms. | 20:11 | ||
| <antononcube> For example: latex-interpret('{\sum_{n=1}^{10} n^2}', actions => 'RakuAST').DEPARSE gives: sum((n ** 2), n, 1, 10) . | 20:12 | ||
|
20:27
kybr left
|
|||
| disbot2 | <antononcube> I have to decide on a "canonical" Raku code for sums. Say, [+] (1..10).map(-> $n { $n ** 2 }), | 20:27 | |
| <antononcube> (And have the LaTeX interpreter generte it.) | 20:28 | ||
|
20:59
librasteve_ left
21:05
deoac joined
22:14
Geth__ joined,
obarb joined,
evalable6__ joined,
releasable6__ joined
22:15
jgaz_ joined
22:17
dano left,
RakuIRCLogger left,
Geth left,
BooK7 left,
evalable6 left,
releasable6 left,
samebchase left,
brabo left,
jgaz left,
bbrtj left,
bbrtj joined,
dano4 is now known as dano,
samebchase9 is now known as samebchase
|
|||
| Voldenet | := as list assignment sometimes works, sometimes doesn't, I find Z= to be easier to grasp | 23:36 | |
| m: my (%a, %c) := (1, 2).map({ :a($_) }); say {:%a,:%c} # nope! | |||
| camelia | Too few positionals passed to '<unit>'; expected 2 arguments but got 0 in block <unit> at <tmp> line 1 |
||
| Voldenet | m: my (%a, %c) Z= (1, 2).map({ :a($_) }); say {:%a,:%c} # yes | ||
| camelia | {a => {a => 1}, c => {a => 2}} | ||