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

Functional helpers #110

Closed
2 tasks done
giann opened this issue Dec 8, 2022 · 0 comments · Fixed by #183
Closed
2 tasks done

Functional helpers #110

giann opened this issue Dec 8, 2022 · 0 comments · Fixed by #183
Labels
std Issue related to std lib

Comments

@giann
Copy link
Collaborator

giann commented Dec 8, 2022

Not a fan of this but, provided those are written in zig, they could offer a much faster way of doing stuff over lists and maps.
This requires a buzz_api helper which runs a buzz function. So running a VM loop in that helper.

[int] mylist = [1, 2, 3];

mylist.forEach(fun (int el) -> print(el));

mylist.map(<str>, fun (int el) -> "{e}");

| etc.
  • lists
  • maps
@giann giann added feature std Issue related to std lib labels Dec 8, 2022
@giann giann added this to the 0.2.0 milestone Dec 8, 2022
giann added a commit that referenced this issue Dec 10, 2022
giann added a commit that referenced this issue Dec 10, 2022
giann added a commit that referenced this issue Dec 10, 2022
@giann giann removed the feature label Dec 27, 2022
@giann giann mentioned this issue Sep 22, 2023
@giann giann removed this from the 0.4.0 milestone Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
std Issue related to std lib
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant