Skip to content

Auto tupling of function parameters for generic tuples #5257

Closed
@nicolasstucki

Description

@nicolasstucki

As a generalization of Tuple2[Int, Int], Int *: Int *: Unit should also allow autotupling.

val h2: Int *: Int *: Unit => Int = (x, y) => x + y

it currently fails with

4 |  val h2: Int *: Int *: Unit => Int = (x, y) => x + y
  |                                      ^^^^^^^^^^^^^^^
  |                                   wrong number of parameters, expected: 1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions