evhub / evhub/coconut

Rename `recursive_iterator` to `recursive_generator`

Open
#749 1 comment 0 reactions 0 assignees View on GitHub
modification
Dominant language
Python
Stars
4.4k
Forks
142
PR merge metrics
No merged PRs in 30d

Description

It's a much clearer name for describing what the function does. The old name would stick around but be deprecated and not work in `--strict` mode as we've done previously for `of`, `datamaker`, and `prepattern`.

Contributor guide

Open the contributing guide

Research direction

Search the Coconut source for `recursive_iterator` and inspect how the existing deprecations for `of`, `datamaker`, and `prepattern` are implemented. Trace the strict-mode checks and related tests or documentation. Done means `recursive_generator` is supported, the old name remains deprecated, and strict mode rejects the old name consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
compilers
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.