Skip to content

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

Description

@singla-shivam

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions