On 01/09/2014 12:30, Sven Panne wrote:
2014-09-01 9:26 GMT+02:00 Simon Marlow <marlo...@gmail.com>:
Hi Sven - you would need to compile the module with -dynamic or -dynamic-too
to have it be picked up by the new dynamically-linked GHCi in 7.8.
Ah, OK... Adding -dynamic makes this work, but with -dynamic-too, ghci
still loads the interpreted version. I didn't follow the linking story
in detail, so this is all a bit confusing. I think that at least
http://www.haskell.org/ghc/docs/7.8.3/html/users_guide/ghci-compiled.html
needs some update, because as it is, it doesn't reflect reality.
Yes, -dynamic-too doesn't work: https://ghc.haskell.org/trac/ghc/ticket/8736
You're right about the docs, I'll take a look at fixing that.
Cheers,
Simon
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs