Re: Raku User's Survey 2020 out now....

2020-08-27 Thread ToddAndMargo via perl6-users
On 2020-08-27 16:53, Daniel Long Sockwell wrote: Also, I don't have the same reaction to the phrase "funny names" that you do -- I don't think of "funny names" as necessarily being esoteric. They could just be a bit unusual.  For example, if you want to get the numerator and denominator of a rati

Re: Raku User's Survey 2020 out now....

2020-08-27 Thread ToddAndMargo via perl6-users
On 2020-08-27 19:55, dan...@codesections.com wrote: Here is my keeper on a hash Thanks for sharing :) You are welcome. I shared my best one. Most are about 1/10 of that one.

Re: Raku User's Survey 2020 out now....

2020-08-27 Thread daniel
> Here is my keeper on a hash Thanks for sharing :)

Re: Raku User's Survey 2020 out now....

2020-08-27 Thread ToddAndMargo via perl6-users
On 2020-08-27 16:53, Daniel Long Sockwell wrote: Very few of the other [methods are documented] this way. This one also started with an error in the cryptogram as well.  (That is another complaint about the documentation.  The cryptograms are often wrong.) And there should be zero tolerance for

Re: Raku User's Survey 2020 out now....

2020-08-27 Thread Daniel Long Sockwell
Hi Todd, Thanks for your detailed reply; it really helped me to understand your perspective on all this. I have a few responses to particular points you raise My perspective on Raku's docs are that they are meant as a refresher for those that already know what they are doing. My perspectiv

Re: Raku User's Survey 2020 out now....

2020-08-27 Thread ToddAndMargo via perl6-users
On Thu, Aug 27, 2020 at 1:40 PM ToddAndMargo via perl6-users mailto:perl6-us...@perl.org>> wrote: On 2020-08-27 13:28, Tobias Boege wrote: > On Thu, 27 Aug 2020, ToddAndMargo via perl6-users wrote: >> To pick out particular lines: >> $ cat Lines.txt | raku -e '.say for lin

Re: Raku User's Survey 2020 out now....

2020-08-27 Thread yary
You have an extra semicolon in there -" say $x; for" - so what happens is for each line 1. it runs "say $x" and thus prints "Line 0" the first time through, since it had read "Line 0" only 2. Then it runs "say $i" for each of $x.lines()[3,2,5] - but $x is only "Line 0" so it says 3 x "Nil" 3. Repe

Re: Raku User's Survey 2020 out now....

2020-08-27 Thread ToddAndMargo via perl6-users
On 2020-08-27 13:28, Tobias Boege wrote: On Thu, 27 Aug 2020, ToddAndMargo via perl6-users wrote: To pick out particular lines: $ cat Lines.txt | raku -e '.say for lines()[3,2,5]' Line 3 Line 2 Line 5 If it is, it is buried somewhere. And what goes inside the ()? That may seem

Re: Raku User's Survey 2020 out now....

2020-08-27 Thread Tobias Boege
On Thu, 27 Aug 2020, ToddAndMargo via perl6-users wrote: > To pick out particular lines: >$ cat Lines.txt | raku -e '.say for lines()[3,2,5]' >Line 3 >Line 2 >Line 5 > > If it is, it is buried somewhere. > > And what goes inside the ()? That may seem like a dumb > remark (especia

Re: Raku User's Survey 2020 out now....

2020-08-27 Thread ToddAndMargo via perl6-users
On 2020-08-25 20:28, dan...@codesections.com wrote: I noted it over on the survey, but the things I would like to see upcoming are 1) documentation that is written for both the beginner and the advanced user. Currently, it is only written for the advanced user, who does not need it. The document