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 a map and filter seed_type #46

Open
5 of 6 tasks
jkomoros opened this issue Jul 8, 2023 · 0 comments
Open
5 of 6 tasks

Add a map and filter seed_type #46

jkomoros opened this issue Jul 8, 2023 · 0 comments

Comments

@jkomoros
Copy link
Owner

jkomoros commented Jul 8, 2023

For doing a sub-seed while letting each value in the map.

It would be possible to do this entirely in userland if there were + and other arithmetic

  • push
  • spread (takes a and b, a and b can be objects or arrays (but must match). a or b can also be a non-array item, which will be automatically wrapped in arrays)
  • index (takes a container and a search. Container can be a string, an array, or an object)
  • Add a fromEnd bool to index
  • an includes, starts_with, and ends_with function
  • a slice() which can work on an array or string
jkomoros added a commit that referenced this issue Jul 9, 2023
This requires adding `key` and `value` as known environment names, mainly so that they don't get
namespaced.

Part of #46.
jkomoros added a commit that referenced this issue Jul 23, 2023
jkomoros added a commit that referenced this issue Jul 30, 2023
Useful for creating new arrays or objects.

Part of #46.
jkomoros added a commit that referenced this issue Jul 30, 2023
jkomoros added a commit that referenced this issue Jul 30, 2023
jkomoros added a commit that referenced this issue Jul 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant