Skip to content

Support curried functions #175

Description

@iRevive

Currently, curried functions aren't supported:

trait MyTypeClass[A]:
  def doSomething(a: A)(b: String): A

The problem: macro generates a lambda that matches the structure of the function.

When the function is curried, we must rebuild the lambda as: A => (B => A).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions