On 2020-01-18 13:10, Veesh Goldman wrote:
Hi Todd,
I would suggest reading https://docs.raku.org/language/optut.

This one starts out with:

    Operators are declared by using the sub keyword followed
    by prefix, infix, postfix, circumfix, or postcircumfix;
    then a colon and the operator name in a quote construct.
    For (post-)circumfix operators separate the two parts
    by white space.

Wonderful so far.  But then he DOES not describe what
"infix, prefix, postfix, circumfix, postcircumfix"
arfe/means before jumping into details.  This is bad
form in technical writing.


For a slightly more thorough read https://docs.raku.org/language/functions#Defining_operators.

That one starts out with:

     Operators are just subroutines with funny names. The
     funny names are composed of the category name (infix,
     prefix, postfix, circumfix, postcircumfix), followed
     by a colon, and a list of the operator name or names
     (two components in the case of circumfix and
     postcircumfix).

Again, wonderful so far.  But then he DOES not describe
what  "infix, prefix, postfix, circumfix, postcircumfix"
are/means before jumping into details.  This is also
bad form in technical writing.

You meed to start at the simple and move methodically
to the complex, especially when dealing with unicorn
words that a specific to a topic.

So poop!  Both links went flying right over my head.
The documentation will eventually improve.

:'(

-T

Reply via email to