Skip to content
This repository was archived by the owner on Jun 1, 2022. It is now read-only.

Import prelude #573

Open
jonhue opened this issue Feb 9, 2021 · 1 comment
Open

Import prelude #573

jonhue opened this issue Feb 9, 2021 · 1 comment
Labels
code generation During code generation the AST is transformed into the emit enhancement New feature or request
Milestone

Comments

@jonhue
Copy link
Member

jonhue commented Feb 9, 2021

  • add option to disable automatic importing
  • detect when there is a custom import

Concrete steps:

  1. analyze prelude
  2. check if imports include import from prelude
    • if yes, do nothing
    • if not and automatic importing is enabled, add import of prelude of all exported members of prelude
@jonhue jonhue added the enhancement New feature or request label Feb 9, 2021
@jonhue jonhue added this to the 0.2.0 milestone Feb 9, 2021
@jonhue jonhue added the code generation During code generation the AST is transformed into the emit label Feb 9, 2021
@jonhue
Copy link
Member Author

jonhue commented Feb 9, 2021

depends on #575

@jonhue jonhue added this to Core Nov 19, 2021
@jonhue jonhue moved this to Todo in Core Nov 19, 2021
@jonhue jonhue moved this from Todo to Processing in Core Nov 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
code generation During code generation the AST is transformed into the emit enhancement New feature or request
Projects
Status: Processing
Development

No branches or pull requests

1 participant