Strange: Removing getName (which should be accessible via NamedThing(..),
anyway) from the import list is necessary to make this module compile.
Otherwise we get:
hsSyn/HsCore.lhs:197: Variable not in scope: `getOccName'
Perhaps somebody could enlighten me what's going on here... %-]
import Id ( idArity, idType, isDataConId_maybe, isFCallId_maybe )
import Var ( varType, isId )
import IdInfo ( InlinePragInfo )
import Id ( idArity, idType, isDataConId_maybe, isFCallId_maybe )
import Var ( varType, isId )
import IdInfo ( InlinePragInfo )
-import Name ( Name, NamedThing(..), getName, toRdrName )
+import Name ( Name, NamedThing(..), toRdrName )
import RdrName ( RdrName, rdrNameOcc )
import OccName ( isTvOcc )
import CoreSyn
import RdrName ( RdrName, rdrNameOcc )
import OccName ( isTvOcc )
import CoreSyn