|
00:21
Manifest0 left
|
|||
| disbot4 | <comborico> I see... I like bigger font, which complements 80 columns. | 03:37 | |
|
04:03
sibl joined
06:46
sibl left,
sibl joined
07:05
Manifest0 joined
07:53
dakkar joined
09:10
dakkar_ joined,
dakkar left
09:12
dakkar_ is now known as dakkar
11:59
sibl left
16:12
human-blip left
16:16
human-blip joined
16:32
dakkar left
|
|||
| disbot4 | <comborico> Is there a quick chart or list of the common operators and their unicode number? | 20:08 | |
| <comborico> I found it: docs.raku.org/language/unicode_entry | 20:11 | ||
| <comborico> Are <for .split('$')> and <for .split('$_')> the same? | 20:26 | ||
| <comborico> After executing the respective code, I see they are not. | 20:29 | ||
| lizmat | feels to me you're asking whether .split("foo") is the same as .split("bar") ? or am I missing something? | 20:47 | |
| disbot4 | <librasteve> I suspect that it’s hard to search for $ (the anonymous variable) and $_ (the topic variable) in the docs until you know what they are :-) | 20:49 | |
|
20:55
jgaz joined
|
|||
| disbot4 | <comborico> And also $^. | 20:59 | |
| <comborico> And I'm a bit on the slow side. (There is no emoticon for how I feel. I need happy eyes, but open mouth.) | 21:01 | ||
| <comborico> And the rabbit hole effect, what is $^variable about -> ^ is a twigil -> example uses a |, what does this pipe do here? And so on. | 21:05 | ||
|
21:11
jgaz left
|
|||
| disbot4 | <comborico> I got mixed up. The exercise happens to be removing $'s out of the text. So the $ in .split('$') is completely unrelated to Raku. | 21:14 | |
| lizmat | .subst('$', :g) | 21:18 | |
| { $^b + $^a } | 21:19 | ||
| is just short for: | |||
| -> $a, $b { $b + $a } | |||
| (note that the variables are alphabetically ordered) | 21:20 | ||
| disbot4 | <comborico> Raku REPL in Emacs seems to bug out every so often. Weird errors like |@array[0].split('character');| producing error: missing closing ). | 22:53 | |
| <comborico> (I'm attempting to enclose code with |'s.) | |||
| <comborico> (for your reading)🥹 | 22:54 | ||
|
22:59
apogee_ntv left
23:00
apogee_ntv joined
|
|||
| disbot4 | <comborico> And then when I restart REPL, same code works. | 23:08 | |