jpellegrini / gnu-apl-refcard

A reference card for GNU APL
Other
12 stars 3 forks source link

Some functions are listed with the operators #3

Open abrudz opened 3 years ago

abrudz commented 3 years ago

A/B, A⌿B, A\B, A⍀B` are in fact functions in GNU APL, even though they are operators in APL2.

jpellegrini commented 3 years ago

Thanks for your issue reports! But I am not sure what you mean in this one -- the refcard has a list of "notations", and we did not specify which are operators and which are functions...

abrudz commented 3 years ago

True, but all the functions (except and which are arguably special) are listed consecutively from + to , then comes various system stuff, and finally all the operators from op/A until A∘C. While not explicitly labelled as such, this is clearly making a distinction between functions and operators.

jpellegrini commented 3 years ago

Hm, right. That makes sense! We'll fix that.

luksamuk commented 3 years ago

I get the point that these are functions in GNU APL, but since they use the same symbol and we're not making distinctions between functions and operators, should we really make them far apart?

It seems to me that someone looking for the meaning of , for example, would expect everything about it close together.

jpellegrini commented 3 years ago

should we really make them far apart?

Oh. Of course not! Functions and operators together would make more sense, you'r right!

abrudz commented 3 years ago

It seems to me that someone looking for the meaning of , for example, would expect everything about it close together.

But the refcard is structured as "functionality → syntax" (as opposed to Dyalog's refcard) so you should expect someone looking for a function among the functions, not for a specific symbol.