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 scope." https://docs.raku.org/language/glossary#Invocant At first blush, the definition at https://docs.raku.org/language/glossary#Invocant contradicts the definition given to us by Brad. English speaker will typically use the following word pairs to denote 1. an actor and 2. a recipient of some action. So we have the following: Payer vs. Payee Lessor vs. Lessee Employer vs. Employee So going with the typical English usage above, the pattern would continue with "Caller" vs "Callee" and "Invoker" vs "Invokee/Invocant". Therefore my humble reading of the definition given by Brad, as well as a post authored by a certain TChrist on StackExchange [1], suggests to me that "Invocant" is a synonym for "Callee" (or the possibly-imaginary word "Invokee"). One can look at the definition of "Invoker" online provided by Oracle with regards to the Java programming language [2], to further distinguish "Invoker" vs "Invocant". HTH, Bill. W. Michels, Ph.D. [1] https://english.stackexchange.com/a/59070 [2] https://docs.oracle.com/javase/8/docs/api/index.html?javax/xml/ws/spi/Invoker.html On Sun, Aug 30, 2020 at 9:54 AM yary <not....@gmail.com> wrote: > > 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-us...@perl.org> wrote: >> >> Inline: >> >> On Sun, Aug 30, 2020 at 12:49 AM Brad Gilbert <b2gi...@gmail.com> 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 the object that we are calling (aka invoking) a method on. >> >> Maybe we can meet Todd halfway? >> >> > >> > On Sat, Aug 29, 2020 at 6:39 PM ToddAndMargo via perl6-users >> > <perl6-us...@perl.org> wrote: >> >> >> >> 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 --> Seq:D) >> >> >> >> >> >> Opens the invocant and returns its lines. >> >> >> "Opens the invocant (i.e. the object being called) and returns its lines." >> >> [Add text in parentheses above only once per method, when the word >> 'invocant' is first used]. >> >> Comments? >> >> Best Regards, Bill.