-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
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.