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

Dyadic trains are not recognized as such when applied / #93

Open
Bubbler-4 opened this issue Jun 8, 2021 · 0 comments
Open

Dyadic trains are not recognized as such when applied / #93

Bubbler-4 opened this issue Jun 8, 2021 · 0 comments

Comments

@Bubbler-4
Copy link

Code:

f:(*/#)/
`0:, f 3 4
g:{*/x#y}/
`0:, g 3 4

Expected behavior: Both output 64 (product of 3 copies of 4)

Actual behavior: f 3 4 outputs 1 instead. I think that's because (*/#) is treated as monadic and computes the fixed point of "product of count".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant