|
02:21
arkiuat left
02:28
arkiuat joined
05:13
arkiuat left
05:15
arkiuat joined
05:21
arkiuat left
05:34
arkiuat joined
05:41
arkiuat left
05:53
arkiuat joined
06:02
arkiuat left
06:15
arkiuat joined
06:19
arkiuat left
06:48
arkiuat joined
06:54
arkiuat left
06:56
arkiuat joined
07:00
arkiuat left
07:12
arkiuat joined
07:17
arkiuat left
07:30
arkiuat joined
07:56
arkiuat left
07:57
arkiuat joined
08:01
arkiuat left
08:13
arkiuat joined
08:22
arkiuat left
08:49
arkiuat joined
08:54
arkiuat left
09:09
arkiuat joined
09:13
arkiuat left
09:42
arkiuat joined
09:47
arkiuat left
10:15
arkiuat joined
10:19
arkiuat left
10:47
arkiuat joined
10:52
arkiuat left
11:17
arkiuat joined
11:24
arkiuat left
11:43
arkiuat joined
11:48
arkiuat left
12:01
arkiuat joined
12:06
arkiuat left
12:20
arkiuat joined
12:26
arkiuat left
13:00
arkiuat joined
16:02
ds7832 joined
16:31
ds7832 left
16:59
ds7832 joined
|
|||
| ds7832 | I'm thinking about rearranging the first five subsections sections in docs.raku.org/language/quoting#Escaping:_q . The first few are already arranged quite nicely: Q, then q, then qq; i.e. beginning with the elementary and then growing. However the next section is "Word quoting: qw". I would rename it to "Word splitting: Qw and qw". This because I think "word splitting" expresses the actual effect of the :w quite nicely ( | 17:16 | |
| whereas I find "word quoting" rather confusing, since the behavior of quotes is *not* affected), and because beginning with Qw should make it clearer what it is that :w does (since in qw, it's mixed with the effect of q). | 17:17 | ||
| The section thereafter "Word quoting: < >", would then also need to be adapted. | |||
| Likewise, the next section, "Word quoting with quote protection: qww", I would rename to "Word splitting with effectful quotes: Qww and qqw". This because I think "effectful quotes" expresses more clearly which change is broulght in by :ww (whereas "quote protection" is ambiguous, as it somewhat sounds as if it meant that the quoting marks were being protected, i.e. taken literally). | 17:20 | ||
| However , since in practice qw and qww are mostly used (rather than Qw and Qww), I'm not entirely sure if it's that good an idea to begin with the Q forms rather than the q forms. Perhaps a good solution is to *begin* with them (to show what a "pure" :w or :ww does), but then make almost all of the succeeding examples about the q forms. | 17:23 | ||
| Correction: it's more like the first 9 or so subsections, not just the first 5. | 17:24 | ||
| What do you all think? | 17:25 | ||
| Also, the subsection "Word quoting: < >" might be renamed to "Word splitting with Allomorph construction: < >". | 17:26 | ||
| Likewise, "Word quoting with interpolation and quote protection: « »" would then have to be renamed tho "Word splitting with interpolation, effectful quotes, and Allomorph construction: « »" -- That might be a bit much though (but on the other hand, if read from top to bottom, it makes good sense as being the top of a kind of ascension) | 17:28 | ||
| Furthermore, and independent of all that: I think that in most examples like «say qw{"a b" c}.raku;», one should instead use ".say for qw["a b"c]». This because this will put each entry on its own line, which makes it clearly visible where the resulting strings are split and what their contents are (unlike the .raku output, which looks like «("\"a", "b\"", "c")») | 17:47 | ||
|
17:58
arkiuat left
|
|||
| ds7832 | Regarding my first message of this series: Another option would be to rename "Word quoting: qw" to "Word splitting: C<:w>". And correspondingly rename "Word quoting with quote protection: qww" to "Word splitting with effectful quotes: C<:ww>". | 18:05 | |
| I think that's preferable | |||
|
18:09
arkiuat joined
18:15
arkiuat left
18:26
arkiuat joined
18:47
finanalyst joined
19:55
Geth left
20:45
librasteve_ joined
20:58
finanalyst left
22:16
arkiuat left
22:28
arkiuat joined
22:35
arkiuat left
22:52
ds7832 left,
arkiuat joined
22:57
arkiuat left
23:09
arkiuat joined
23:11
Geth joined
23:16
arkiuat left
23:21
arkiuat joined
|
|||