Loading GHC into GHCi (reprise)

Erik de Castro Lopo mle+hs at mega-nerd.com
Wed Mar 9 07:41:44 UTC 2016

Erik de Castro Lopo wrote:

> I even tied adding `-icompiler/llvmGen` to the above command line (from
> hell) before I noticed that it was already present.

Well I have a solution, I modified the module export list as follows:

    -module LlvmCodeGen ( llvmCodeGen, llvmFixupAsm ) where
    +module LlvmCodeGen ( llvmFixupAsm, module LlvmCodeGen ) where
which gives me access to all top level functions in that module.

Erik de Castro Lopo

More information about the ghc-devs mailing list