Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Vec\flatten and Vec\flatten_by #382

Open
azjezz opened this issue Dec 19, 2022 · 0 comments
Open

add Vec\flatten and Vec\flatten_by #382

azjezz opened this issue Dec 19, 2022 · 0 comments
Assignees
Labels
Priority: Medium This issue may be useful, and needs some attention. Type: Enhancement Most issues will probably ask for additions or changes.

Comments

@azjezz
Copy link
Owner

azjezz commented Dec 19, 2022

namespace Psl\Vec {
  function flatten<T>(vec<vec<T>> $vec): Vec<T> { ... }

  function flatten_by<Tin, Tout>(vec<Tin> $vec, (fn(Tin): Vec<Tout>) $fun): Vec<Tout> { ... }
}
@azjezz azjezz added the Type: Enhancement Most issues will probably ask for additions or changes. label Dec 19, 2022
@azjezz azjezz self-assigned this Dec 19, 2022
@azjezz azjezz added the Priority: Medium This issue may be useful, and needs some attention. label Dec 19, 2022
@azjezz azjezz added this to the 3.0.0 milestone Dec 19, 2022
@veewee veewee removed this from the 2.4.0 milestone May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Medium This issue may be useful, and needs some attention. Type: Enhancement Most issues will probably ask for additions or changes.
Projects
None yet
Development

No branches or pull requests

2 participants