Replies: 2 comments
-
What is the function I'm guessing it's a Thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@jubilatious1, correct it's the reduction operator with modulo. I can't think of a reason why you'd want to do that, I just tried all the basic mathematical operators I could think of inside of a reduction operator, just to see if it did something unexpected when called against a
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Add to this thread liberally.
Interesting Rakudo and MoarVM Bugs
I found that invoking ANY numeric reduction operator against a Buf directly just returns the number of elements:
The bug was filed because this seemed like unintended behavior. While trying various things I encountered a confirmed bug which was promptly fixed:
If returning the total number of elements in the Buf is indeed the intended behavior,
[%]
should do that just like the others. Liz fixed it. [0730199b32]Interesting Raku Problem Solving Proposals
I like this idea, but the requestor wants to stop at N^36. I think N^64 is more appropriate as it would cover base-60, which is — to my knowledge at least — the highest number base ever in practical use by man. The Sumerians and Babylonians both used base 60, which is why there are 360° in a circle.
EDIT: Dumb idea on my part: there is no practical way to represent base >36.
[0-9]
+[A-Z]
= 36 without resorting to mixed case, hence the limit. I updated my comment in the proposal. Also the highest base in active or historical use by humans appears to be base 80.Beta Was this translation helpful? Give feedback.
All reactions