The release notes say: The type of defaultErrorHandler has changed.
In particular, this means that you will normally want to pass it
defaultLogAction instead of defaultDynFlags.
(http://www.haskell.org/ghc/docs/7.2.1/html/users_guide/release-7-2-1.html).
defaultLogAction is in the DynFlags module,
Thank you for the heads up; didn't know about the Scion library.
Cheers!
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Forwarding to Haskell-Cafe:
I'm trying GHC as a library, as documented in:
http://www.haskell.org/haskellwiki/GHC/As_a_library
http://www.haskell.org/ghc/docs/7.2.1/html/users_guide/ghc-as-a-library.html
However, this code:
import GHC
import GHC.Paths ( libdir )
import DynFlags (