Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
C
curry-frontend
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 64
    • Issues 64
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 4
    • Merge Requests 4
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • curry
  • curry-frontend
  • Issues
  • #30

Closed
Open
Created Dec 17, 2018 by Kai Prott@kaiprottDeveloper

Refactor implicit Prelude-Import

When a module does not explicitly import the Prelude, the frontend currently inserts an explicit import into the AST. This leads to a "wrong" output for the AST-Target.

Instead of adding the Prelude as an Import in the AST, it is sufficient to add it as an Import in FlatCurry (and AbstractCurry?), as well as directly enriching all environments with the entities from the Prelude .

Edited Dec 17, 2018 by Kai Prott
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None