|
01:18
Manifest0 left
|
|||
| disbot4 | <comborico> "When array and hash variables appear directly in a double-quoted string (and not inside curly braces), they are only interpolated if their name is followed by a postcircumfix operator — a bracketing pair that follows a statement. It's also ok to have a method call between the variable name and the postcircumfix." I'm confused by the "a bracketing pair that follows a statement" part. Is it "blah blah blah %table^" | 06:14 | |
| or "blah blah blah %table^{}? | |||
| <comborico> Oh, nevermind. Examples are given just below that clears it up, except I thought circumflex was the carrot. Seems to be a different thing. | 06:17 | ||
|
09:22
Manifest0 joined
|
|||
| avuserow | comborico: circum_flex_ is the carrot ^ , circum_fix_ is basically a prefix/suffix pair. Raku primarily uses this for symbols, like brackets, parentheses, and braces. so postcircumfix is any bracketing thing that comes after a variable (or expression): `$a[0]`, `$a<b>`, `foo(){$bar}` | 15:12 | |
|
15:17
camelia joined
|
|||
| disbot4 | <comborico> I like that titles given to some of the users here. It makes the room feel more like a coordinated effort -- like the Rebel Alliance forces on the ice planet Hoth. | 15:37 | |
| <librasteve> err the carrot is the caret of course | 16:27 | ||
| <comborico> Does anyone know where to find more examples like docs.raku.org/language/101-basics. I see some stuff by uzluisf and ohmycloudy, but it isn't as in-depth as 101. | 19:52 | ||
| <librasteve> @comborico - i guess you have looked here raku.org/learn (and specifically the exercism / rosetta examples) ... the closest examples depthwise I would think are the other tutorials docs.raku.org/language/classtut and docs.raku.org/language/grammar_tutorial | 20:56 | ||
| <librasteve> failing that, I propose a book - I really like greenteapress.com/wp/think-perl-6/ fwiw | 20:58 | ||
| <comborico> Wonderful! Thank you again! | 21:02 | ||
|
21:51
librasteve_ left
23:26
Manifest0 left
|
|||