where
stg_linter = if dopt Opt_DoStgLinting dflags
then lintStgBindings
- else ( \ whodunnit binds -> binds )
+ else ( \ _whodunnit binds -> binds )
-------------------------------------------
do_stg_pass (binds, us, ccs) to_do
-- add to description of what's happened (reverse order)
-- here so it can be inlined...
-foldl_mn f z [] = return z
+foldl_mn :: (b -> a -> IO b) -> b -> [a] -> IO b
+foldl_mn _ z [] = return z
foldl_mn f z (x:xs) = f z x >>= \ zz ->
foldl_mn f zz xs
\end{code}