Re: lines :$nl-in question

2020-09-02 Thread Larry Wall
Lexically and grammatically, sure, but a lot of the time people are thinking more on the semantic and pragmatic levels. Pragmatically, bus riders, prisoners, and conference listeners are all having something inflicted upon them. :) Glo points out that verbs tend in the pragmatics direction

Re: lines :$nl-in question

2020-09-02 Thread Parrot Raiser
Possibly OT, the "-er/-ee" boundary has become corrupted in recent usage. I suppose "standees" in a bus might be tolerated, depending on your view of transit riders as active or passive, but when a jail-break occurs, the former prisoners should become "escapers", not "escapees". The prison

Re: lines :$nl-in question

2020-09-01 Thread Larry Wall
On Sun, Aug 30, 2020 at 03:12:26PM -0700, yary wrote: : I have a quibble there. 1st & 2nd sentences disagree slightly by going from : active to passive voice. "Caller, the one who calls" vs "object on which : that method is being called" : : Suggestion for 2nd sentence "The invocant of a method

Re: lines :$nl-in question

2020-09-01 Thread Richard Hainsworth
- *From:* William Michels <mailto:w...@caa.columbia.edu>> *Sent:* Sunday, August 30, 2020 2:44:55 PM *To:* yary mailto:not@gmail.com>> *Cc:* perl6-users <mailto:perl6-users@perl.org>>; ToddAndMargo <mailto:toddandma...@z

Re: lines :$nl-in question

2020-08-31 Thread Stuckwisch, Matthew
Michels mailto:w...@caa.columbia.edu>> Sent: Sunday, August 30, 2020 2:44:55 PM To: yary mailto:not@gmail.com>> Cc: perl6-users mailto:perl6-users@perl.org>>; ToddAndMargo mailto:toddandma...@zoho.com>>; Brad Gilbert mailto:b2gi...@gmail.com>> Subject: Re:

Re: lines :$nl-in question

2020-08-30 Thread ToddAndMargo via perl6-users
On 2020-08-30 07:43, yary wrote: The :foo syntax is called a "colon pair" Thank you!

Re: lines :$nl-in question

2020-08-30 Thread ToddAndMargo via perl6-users
com>> *Subject:* Re: lines :$nl-in question Do you agree with that definition, Yary? Brad? Here it is: "Invocant" "Caller, the one who calls or invokes. The invocant of a method would be the object on which that method is being called, or, in some cases, the class itself. Invoc

Re: lines :$nl-in question

2020-08-30 Thread yary
d that by having methods use CALL-ME instead of > INVOKE-ME :-) * > > MSS > > > * Of course, the reason was to harmonize calls of all code, and the fluid > nature of allowing transitive methods be used as subs and viceversa (method > $invocant: @args and $invocant.) means that one

Re: lines :$nl-in question

2020-08-30 Thread William Michels via perl6-users
Do you agree with that definition, Yary? Brad? Here it is: "Invocant" "Caller, the one who calls or invokes. The invocant of a method would be the object on which that method is being called, or, in some cases, the class itself. Invocant is used instead of caller because the latter refers to the

Re: lines :$nl-in question

2020-08-30 Thread yary
The Raku glossary has a definition https://docs.raku.org/language/glossary#Invocant suggestion, link to that where the term appears. -y On Sun, Aug 30, 2020 at 9:16 AM William Michels via perl6-users < perl6-users@perl.org> wrote: > Inline: > > On Sun, Aug 30, 2020 at 12:49 AM Brad Gilbert

Re: lines :$nl-in question

2020-08-30 Thread William Michels via perl6-users
Inline: On Sun, Aug 30, 2020 at 12:49 AM Brad Gilbert wrote: > > Invocant is in the dictionary though. > > In fact it is from Latin. > > Origin & history: > Derived from in- + vocō ("I call"). > > Verb: > I invoke > I call (by name) > > In fact that is pretty close to the same meaning as

Re: lines :$nl-in question

2020-08-30 Thread yary
The :foo syntax is called a "colon pair", and colon pair also describes :quux since it is short for :quux(True) Colon pair also describes :$foo because it is a shorthand using a colon to create the Pair object foo=>$foo Searching raku docs showed

Re: lines :$nl-in question

2020-08-30 Thread ToddAndMargo via perl6-users
On Sat, Aug 29, 2020 at 9:05 PM ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: And if you would not mind, what is the official name of variables that begin with ":" On 2020-08-30 00:43, Brad Gilbert wrote: There are no variables that begin with : There are

Re: lines :$nl-in question

2020-08-30 Thread ToddAndMargo via perl6-users
On 2020-08-30 02:00, Richard Hainsworth wrote: While your logical transitions move you down some interesting rabbit holes, if you are going to say stuff, at least check first. On 30/08/2020 00:39, ToddAndMargo via perl6-users wrote: On 2020-08-28 23:51, Tobias Boege wrote: You do realize

Re: lines :$nl-in question

2020-08-30 Thread ToddAndMargo via perl6-users
On 2020-08-30 00:48, Brad Gilbert wrote: Invocant is in the dictionary though. In fact it is from Latin. Origin & history:   Derived from in- + vocō ("I call"). Verb:   I invoke   I call (by name) In fact that is pretty close to the same meaning as it is used in the Raku docs. It is

Re: lines :$nl-in question

2020-08-30 Thread Richard Hainsworth
Todd, While your logical transitions move you down some interesting rabbit holes, if you are going to say stuff, at least check first. On 30/08/2020 00:39, ToddAndMargo via perl6-users wrote: On 2020-08-28 23:51, Tobias Boege wrote: You do realize "invocant" is not even in the dictionary

Re: lines :$nl-in question

2020-08-30 Thread Brad Gilbert
Invocant is in the dictionary though. In fact it is from Latin. Origin & history: Derived from in- + vocō ("I call"). Verb: I invoke I call (by name) In fact that is pretty close to the same meaning as it is used in the Raku docs. It is the object that we are calling (aka invoking) a

Re: lines :$nl-in question

2020-08-30 Thread Brad Gilbert
There are no variables that begin with : There are variable declarations in signatures that begin with : :$foo is exactly the same as :foo($foo) sub bar ( :$foo ) {…} sub bar ( :foo($foo) ){…} :$foo in a signature is a shortcut for declaring a named argument :foo() and a variable with

Re: lines :$nl-in question

2020-08-29 Thread ToddAndMargo via perl6-users
On 2020-08-29 17:04, ToddAndMargo via perl6-users wrote: On 2020-08-28 23:51, Tobias Boege wrote:    - :$chomp, :$enc, :$nl-in which are passed on to the open call in the first bullet point above, Hi Tobias, I am in process of revising my keeper on lines. May I talk you out of examples

Re: lines :$nl-in question

2020-08-29 Thread ToddAndMargo via perl6-users
On 2020-08-28 23:51, Tobias Boege wrote: - :$chomp, :$enc, :$nl-in which are passed on to the open call in the first bullet point above, Hi Tobias, I am in process of revising my keeper on lines. May I talk you out of examples of the syntax used by :$chomp, :$enc, and :$nl-in? Many

Re: lines :$nl-in question

2020-08-29 Thread ToddAndMargo via perl6-users
On 2020-08-28 23:51, Tobias Boege wrote: On Fri, 28 Aug 2020, ToddAndMargo via perl6-users wrote: https://docs.raku.org/type/IO::Path#method_lines (IO::Path) method lines Defined as: method lines(IO::Path:D: :$chomp = True, :$enc = 'utf8', :$nl-in = ["\x0A", "\r\n"], |c -->

Re: lines :$nl-in question

2020-08-29 Thread Tobias Boege
On Fri, 28 Aug 2020, ToddAndMargo via perl6-users wrote: >https://docs.raku.org/type/IO::Path#method_lines > >(IO::Path) method lines > >Defined as: > >method lines(IO::Path:D: :$chomp = True, :$enc = 'utf8', :$nl-in = > ["\x0A", "\r\n"], |c --> Seq:D) > >Opens the

Re: lines :$nl-in question

2020-08-28 Thread ToddAndMargo via perl6-users
On 2020-08-28 18:49, Paul Procacci wrote: |c slurps the remaining arguments into c and passese those arguments to the lines method of IO::Handle. I do not understand

Re: lines :$nl-in question

2020-08-28 Thread Paul Procacci
:nl-in is a named parameter that defines what the method lines would consider as line endings. It defines "\x0A", "\r\n" as the default. Example: % echo "Hi, Frank." > test.txt ; echo "What's up?" >> test.txt ; echo '"test.txt".IO.lines(:nl-in).say' > test.pl6 ; perl6 ./test.pl6 (Hi, Fr nk. Wh

lines :$nl-in question

2020-08-28 Thread ToddAndMargo via perl6-users
Hi All, In the following: https://docs.raku.org/type/IO::Path#method_lines (IO::Path) method lines Defined as: method lines(IO::Path:D: :$chomp = True, :$enc = 'utf8', :$nl-in = ["\x0A", "\r\n"], |c --> Seq:D) Opens the invocant and returns its lines. The behavior is