Skip to content

[RFC]: add @stdlib/iter/cartesian-power #1336

Open
@kgryte

Description

@kgryte

Description

This RFC proposes adding the package @stdlib/iter/cartesian-power.

This package would be the iterator equivalent of @stdlib/array/cartesian-power.

function iterCartesianPower( x, n ) { ... }

where x is an input array-like object and n is an integer power.

Package: @stdlib/iter/cartesian-power
Alias: iterCartesianPower

Related Issues

Related issues #1334.

Questions

No.

Other

No.

Checklist

  • I have read and understood the Code of Conduct.
    Searched for existing issues and pull requests.
    The issue name begins with RFC:.

Activity

added
RFCRequest for comments. Feature requests and proposed changes.
FeatureIssue or pull request for adding a new feature.
Good First IssueA good first issue for new contributors!
on Feb 21, 2024
TheNourhan

TheNourhan commented on Feb 21, 2024

@TheNourhan
Contributor

I want to solve this problem do I create a cartesian-power folder and put my code inside it?

kgryte

kgryte commented on Feb 21, 2024

@kgryte
MemberAuthor

@TheNourhan Thanks for reaching out. To get started, you'll want to follow the Download, Installation, and Verification steps outlined in the development guide: https://github.com/stdlib-js/stdlib/blob/develop/docs/development.md#download

Once you've setup your local environment, I suggest copying, e.g., the contents of an existing package (e.g., @stdlib/iter/linspace) to a cartesian-power folder in the iter directory, updating the copyright years to 2024, and then modifying the package contents according to the needs specified in the RFC above. Once you've done that, you should open a PR and we can discuss more there.

gunjjoshi

gunjjoshi commented on Feb 22, 2024

@gunjjoshi
Member

I would love to work on this, so should I make the PR directly, or should I be assigned to this issue first ?

kgryte

kgryte commented on Feb 22, 2024

@kgryte
MemberAuthor

@gunjjoshi You may want to find another issue, unless @TheNourhan is not planning on working on this.

TheNourhan

TheNourhan commented on Feb 22, 2024

@TheNourhan
Contributor

I'm working on it, it's almost done.

added
UtilitiesIssue or pull request concerning general utilities.
AcceptedRFC feature request which has been accepted.
JavaScriptIssue involves or relates to JavaScript.
difficulty: 2May require some initial design or R&D, but should be straightforward to resolve and/or implement.
priority: LowLow priority concern or feature request.
on Feb 23, 2024

1 remaining item

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

Metadata

Metadata

Assignees

Labels

AcceptedRFC feature request which has been accepted.FeatureIssue or pull request for adding a new feature.Good First IssueA good first issue for new contributors!JavaScriptIssue involves or relates to JavaScript.RFCRequest for comments. Feature requests and proposed changes.UtilitiesIssue or pull request concerning general utilities.difficulty: 2May require some initial design or R&D, but should be straightforward to resolve and/or implement.priority: LowLow priority concern or feature request.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Participants

    @kgryte@gunjjoshi@TheNourhan

    Issue actions

      [RFC]: add `@stdlib/iter/cartesian-power` · Issue #1336 · stdlib-js/stdlib