Colin Paul Adams colin at
Wed Apr 1 15:35:23 EDT 2009

Between 6.8 and 6.11, function doCorePass in module SimplCore has changed types from:

CoreToDo -> HscEnv -> UniqSupply -> RuleBase  -> ModGuts -> IO (SimplCount, ModGuts)


CorePass (== CoreToDo) -> ModGuts -> CoreM ModGuts

and it isn't easy for me to figure out the relationship between the
two types.

Is there some sort of formula I can follow to convert a function with
the first type to the second?
Colin Adams
Preston Lancashire

More information about the Glasgow-haskell-users mailing list