02:16
stanrifkin left
09:20
stanrifkin joined
10:25
stanrifkin left,
stanrifkin joined
18:47
habere-et-disper joined
|
|||
habere-et-disper | What does the adverb o do and is there an easy way to look this sort of thing up in the docs? | 18:50 | |
ab5tract | Adverbs are specific to their respective functions | 19:30 | |
So the quickest way to find docs is to search for whatever is being fed the :o | 19:31 | ||
(Operators being “funny named functions”, to paraphrase Larry Wall) | |||
habere-et-disper | I don't know what is being fed the o as I'm reading the localization file for translation. | 19:35 | |
adverb-q-o in EN.l10n | 19:37 | ||
ab5tract | That’s for Q | 19:38 | |
The quoting construct | |||
habere-et-disper: docs.raku.org/language/quoting | 19:39 | ||
19:42
habere-et-disper left
|
|||
disbot2 | <jubilatious1_98524> Not sure where you're getting :o from? There's an :overlap adverb available for regexes, which can be abbreviated :ov. See: docs.raku.org/syntax/%3Aoverlap | 19:54 | |
ab5tract | You’re right, I just deduced from the filename mentioned. :o isn’t mentioned in the docs. :to is maybe the closest | 19:57 | |
adverb-q-* refers to Q, there’s no doubt about that from the source | 20:03 | ||
lizmat : do you remember what ‘adverb-q-o’ refers to? | 20:05 | ||
ab5tract thinks it might be nice to create a dictionary that maps these names to code snippet examples | 20:06 | ||
disbot2 | <librasteve> ab5tract++ | 20:11 | |
lizmat | $ raku -e 'use L10N; say L10N.info-for-translation-key("adverb-q-o");' | 22:46 | |
- docs.raku.org/language/quoting#Lit...strings:_Q | |||
ab5tract librasteve ^^ | |||
ab5tract | lizmat: nice! But that still doesn’t help to understand what the o adverb is (it’s not mentioned anywhere on that page) | 23:01 |