Skip to content

Swap the argument order for generate to be consistent with do #12083

Closed

Description

@NotTheDr01ds

Related problem

Currently we have:

  • do <closure> ...(rest)
  • generate <initial> <closure>

Describe the solution you'd like

Swap the arg order to:

generate <closure> <initial>

This would be necessary, I believe, in order to accept default parameters in closures (#11287 and #11318).

Describe alternatives you've considered

No response

Additional context and details

No response

Activity

  1. added
    category:enhancement
    status:needs-triage
    on Mar 5, 2024
  2. added a commit that references this issue on Jul 19, 2024
    e281c03
  3. added this to the v0.96.0 milestone on Jul 19, 2024
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

    category:enhancementstatus:needs-triage

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions