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

[Iterators] should support empty collections #1670

Open
github-actions bot opened this issue Aug 31, 2024 · 0 comments
Open

[Iterators] should support empty collections #1670

github-actions bot opened this issue Aug 31, 2024 · 0 comments
Labels
:block bug Something isn't working critical Critical, top-priority issues :dictionary → Iterators library Issues related to the standard library todo Automatically generated issues from TODOs in the code

Comments

@github-actions
Copy link

[Iterators] should support empty collections
right now, if we do e.g. loop [] 'x [], it will crash.
the same happens with empty dictionaries. This is a total mess, since
we'd have to check if the given array/dictionary is empty? beforehand.
This has to be prioritized!

# TODO(Iterators) should support empty collections

#  labels: library, enhancement

# TODO(Iterators) should support empty collections
#  right now, if we do e.g. `loop [] 'x []`, it will crash.
#  the same happens with empty dictionaries. This is a total mess, since
#  we'd have to check if the given array/dictionary is `empty?` beforehand.
#  This has to be prioritized!
#  labels: library, bug, critical, :block, :dictionary

#=======================================
# Pragmas
#=======================================

1e0b8c3a97890cbef52b10511e49482622ea5d56

@github-actions github-actions bot added :block :dictionary bug Something isn't working critical Critical, top-priority issues library Issues related to the standard library todo Automatically generated issues from TODOs in the code labels Aug 31, 2024
drkameleon added a commit to drkameleon/validator.art that referenced this issue Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:block bug Something isn't working critical Critical, top-priority issues :dictionary → Iterators library Issues related to the standard library todo Automatically generated issues from TODOs in the code
Projects
None yet
Development

No branches or pull requests

1 participant