X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=compiler%2FcoreSyn%2FCoreSyn.lhs;h=9b9d8faefdfba4b35967d8bd72daa587defdfeba;hb=1ca40c2037a0e973dd73d98cd20313ecdbfeb6fc;hp=d89f542dc9a12c9c43dd1a323a6bed45111f8406;hpb=eb2bf7ad9f967861da2e19ff71a80428c7c2df28;p=ghc-hetmet.git diff --git a/compiler/coreSyn/CoreSyn.lhs b/compiler/coreSyn/CoreSyn.lhs index d89f542..9b9d8fae 100644 --- a/compiler/coreSyn/CoreSyn.lhs +++ b/compiler/coreSyn/CoreSyn.lhs @@ -54,7 +54,6 @@ import Var import Type import Coercion import Name -import OccName import Literal import DataCon import BasicTypes @@ -219,6 +218,10 @@ data CoreRule -- Locality ru_local :: Bool -- The fn at the head of the rule is -- defined in the same module as the rule + -- and is not an implicit Id (like a record sel + -- class op, or data con) + -- NB: ru_local is *not* used to decide orphan-hood + -- c.g. MkIface.coreRuleToIfaceRule } | BuiltinRule { -- Built-in rules are used for constant folding