[Haskell-cafe] Dynamic loading of module

Albert Y. C. Lai trebla at vex.net
Mon Aug 29 17:28:04 CEST 2011


On 11-08-29 02:41 AM, Arnaud Bailly wrote:
> ghc-pkg unregister --force --user template-haskell
[...]
> ghc-pkg unregister --force --user template-haskell

I am sorry. I apologize. It was not your fault. It was my fault. 
"unregister --user" drops the global instance when there is no user 
instance, which is when the 2nd time you issued the command. It is a 
ghc-pkg bug.

(I already knew the dual bug: "unregister --global" drops the user 
instance when there is one. I make do with "unregister --global 
--no-user-package-conf".)



More information about the Haskell-Cafe mailing list