Re: The ,= operator

2020-12-07 Thread Aureliano Guedes
I didn't understood > my @fib = 1,1, * + * … *; [...] > @fib[1] 1 > @fib[5] 8 > @fib[1..5] (1 2 3 5 8) *> @fib[1, 5, 10..15, 20](1 8 (89 144 233 377 610 987) 10946)* * ^* Why??? On Mon, Dec 7, 2020 at 2:27 AM William Michels via perl6-users <

Re: list of printers

2020-12-07 Thread ToddAndMargo via perl6-users
On 12/4/20 7:47 PM, ToddAndMargo via perl6-users wrote: Hi All, Fedora 33 I there a way to use what is on https://docs.raku.org/type/Semaphore to print out a list of my available printers? Many thanks, -T Hi All, With the help of Curt on Stack overflow and a few helpful hints from JJ

The SF Perl Raku Study Group, 12/13 at 1pm PDT

2020-12-07 Thread Joseph Brenner
Jim Carrol, "Day and Night": "And even when the question finds the answer/ Then even then, there's something like a dancer" The Raku Study Group December 13th, 2020 1pm in California, 9pm in the UK Zoom meeting link: https://us02web.zoom.us/j/88945179127?pwd=MlBnSW9zZ0ozRVRaL0s5d1dKbjZQdz09

Need help understand "class"

2020-12-07 Thread ToddAndMargo via perl6-users
Hi All, In the following piece of code: use NativeCall; class CupsDest is repr('CStruct') { has Str $.name; has Str $.instance; has int32 $.is-default; has Pointer $.options; } sub cupsGetDests(Pointer is rw --> int32) is native('cups', v2) {} Would some kind soul please

Re: The ,= operator

2020-12-07 Thread Ralph Mellor
> > @fib[1, 5, 10..15, 20] > (1 8 (89 144 233 377 610 987) 10946) > ^ > > Why??? As Joe noted in his last email: > remember, back in perl-land the default behavior is to flatten, > in raku ... by default [raku is] oriented toward building up > complex structures like