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

Bug: dropRepeats tansformer doesn't work curried dispatched #58

Open
singla-shivam opened this issue Jun 21, 2022 · 0 comments
Open

Bug: dropRepeats tansformer doesn't work curried dispatched #58

singla-shivam opened this issue Jun 21, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@singla-shivam
Copy link
Member

Describe the bug
dropRepeats has a transformer- DropRepeatsTransformer. The final function is curried (1-arrity) version of the dispatched version.

export const dropRepeats: DropRepeats = curryN(1, dispatched)

Since its arrity is one, we don't need a curried version. But after removing curryN, the transformer version of dropRepeats fails. It is working when a single array is passed. This can be a bug in the core dispatch or transformer-transducer logic.

Expected behavior
After removing curryN, the transformer version should have worked

Versions (please complete the following information):

  • Fae: 1.0.0

Additional context
Add any other context about the problem here.

@singla-shivam singla-shivam added the bug Something isn't working label Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant