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

Stdlib: Map #49

Closed
9 tasks
ahdinosaur opened this issue Sep 14, 2023 · 0 comments · Fixed by #65
Closed
9 tasks

Stdlib: Map #49

ahdinosaur opened this issue Sep 14, 2023 · 0 comments · Fixed by #65
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ahdinosaur
Copy link
Owner

ahdinosaur commented Sep 14, 2023

Describe the solution you'd like

Example:

let
  pkgs:
    - "zsh"
    - "vim"
in
  map
    list: pkgs
    each: (pkg) =>
      command: "apt install ${pkg}" 

TODO Checklist

  • Add to rimu-parse
    • Add unit test(s)
  • Add to rimu-eval
    • Add unit test(s)
  • Add spec tests
    • Use related JSON-e spec tests to start
  • Add to examples
    • Add example to playground
  • Add to docs
    • Check complete on roadmap

Describe alternatives you've considered

Additional context

@ahdinosaur ahdinosaur added enhancement New feature or request good first issue Good for newcomers labels Sep 14, 2023
@ahdinosaur ahdinosaur changed the title BlockOperation: Map Stdlib: Map Sep 21, 2023
ahdinosaur added a commit that referenced this issue Sep 29, 2023
- add native function
- start stdlib: closes #17
  - length
  - map: close #49
  - range
- eval returns spanned values: close close
#42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant