Skip to content

Variadic type parameters #183

Description

@ramonasuncion

Variadic type parameters ([..T]) would let you write generics over heterogeneous argument lists, needed for things like Tuple and zip.

Proposed syntax:

record Tuple[..T] (...);

[..T] zip(a: Array[T], b: Array[T]);

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

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions