Skip to content

Draft: Split up `GHC.Core` somewhat

John Ericson requested to merge wip/rules-module into master
  • GHC.Core.Annotated now contains annotated Core

  • GHC.Core.Rules now contains the rules definitions

  • GHC.Core.Orphans now contains the orphans something

  • GHC.Core.Unfoldings now contains the unfoldings defintions

  • The old GHC.Core.Rules, which was about applying rules, is now GHC.Core.Rules.Apply. Compare with GHC.Core.Unfold which was also about operations not the data structures and simple predictes themselves.

I just sort of did this on a whim, it's not part of any other effort.

Leaving as draft because I didn't think too hard about the modules names.

Edited by John Ericson

Merge request reports