SimpleUnfolding(..), FormSummary(..), noUnfolding )
import CoreUtils ( unTagBinders )
import Id ( externallyVisibleId, isDataCon, isWorkerId, isWrapperId,
- unfoldingUnfriendlyId, getIdInfo, nmbrId,
+ unfoldingUnfriendlyId, getIdInfo, nmbrId, pprId,
nullIdEnv, lookupIdEnv, IdEnv(..),
Id(..), GenId
)
import Literal ( Literal )
import MagicUFs ( mkMagicUnfoldingFun, MagicUnfoldingFun )
import OccurAnal ( occurAnalyseGlobalExpr )
-import Outputable ( Outputable(..) )
+import Outputable ( Outputable(..), PprStyle )
import PprEnv ( NmbrEnv )
-import PprStyle ( PprStyle )
import PprType ( pprParendGenType )
import PragmaInfo ( PragmaInfo )
import Pretty ( Doc )
isDataCon :: GenId ty -> Bool
isWorkerId :: GenId ty -> Bool
nmbrId :: Id -> NmbrEnv -> (NmbrEnv, Id)
+pprId :: Outputable ty => PprStyle -> GenId ty -> Doc
mkMagicUnfoldingFun :: Unique -> MagicUnfoldingFun
import CStrings ( stringToC, charToC, charToEasyHaskell )
import TysWiredIn ( stringTy )
import Pretty -- pretty-printing stuff
-import PprStyle ( PprStyle(..), codeStyle, ifaceStyle )
-import Util --( thenCmp, panic, pprPanic )
+import Outputable ( PprStyle(..), codeStyle, ifaceStyle, Outputable(..) )
+import Util ( thenCmp, panic, pprPanic, Ord3(..) )
#if __GLASGOW_HASKELL__ >= 202
import Type
-import Outputable
#endif
\end{code}