Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve explanation of "Where" in Some Primitive Functions chapter. #36

Open
rodrigogiraoserrao opened this issue Jun 16, 2022 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@rodrigogiraoserrao
Copy link
Contributor

@mbaas2 reports via email:

“in the explanation of rules for computation of haystack⍳needles, you wrote

"- items which do not appear in haystack give the result 1+m if m is the leading number in the shape of haystack, i.e. m ← ≢haystack."

I find that confusing, because you speak of "shape" and then use ≢ - and that will never return more than 1 number, so the special emphasis on a leading number provoques unneccessary questions, I think ;)

I'd like to suggest an alternative:

"- items which do not appear in haystack give the result 1+m if m is the number of element of haystack, i.e. m ← ≢haystack."

@rodrigogiraoserrao rodrigogiraoserrao added the documentation Improvements or additions to documentation label Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant