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 missing/new imports and requires #16

Open
brandonwillard opened this issue Oct 16, 2018 · 0 comments
Open

Add missing/new imports and requires #16

brandonwillard opened this issue Oct 16, 2018 · 0 comments

Comments

@brandonwillard
Copy link
Member

brandonwillard commented Oct 16, 2018

Per this discussion, for some of the new Hy update rules, we will need to add new import and require statements.

The additions will need to be scoped somewhat intelligently (e.g. the outer-most scope that encompasses more than one use of the import/require). For standard Python-scoped objects, this isn't too complicated, but for macros—especially pre hylang/hy#1682—the naive per-line/in-place addition might be necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant