-
Notifications
You must be signed in to change notification settings - Fork 258
Open
Description
As a follow-up to this recent comment, I've started going through boot.janet looking for argument names and docstrings that might benefit from making it explicit that an iterable is involved. Please see the parent issue for a bit more background.
Since empty? now uses iter instead of xs and this change was seen as worthwhile, it seems possible that other functions / macros might be improved in a similar fashion.
One caveat might be if a fiber doesn't stop yielding many (all?) of the functions / macros may not terminate in some cases (at least not normally?).
I'll try to report in this issue what I find. Additional help and comments welcome :)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels