Skip to content

Develop better handling of “wired-in” items #2

@mpickering

Description

@mpickering

When moving code from ghc-internal to base (see #1), an important questions is what to do about so-called wired-in items, like primitive operations or types and operations needed for desugaring. Currently, GHC requires such items to be implemented in ghc-internal, but those items that are only needed for desugaring may be better placed in base.

It seems that we need to change the way GHC handles “wired-in” items. We may get good ideas for this by looking at Agda and Rust, which allow for declaring that certain defined items are to be used as certain wired-in items.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions