[Haskell-cafe] How to use Plugins package?
yankin013 at gmail.com
Fri May 18 17:43:48 CEST 2012
I tried this and all other examples I could find.
They didn't work. I hadn't find any explanation yet.
And I don't know how I can get more information about errors.
I believe Plugins uses GHC API internally.
Нowever code like  works well for me on Linux and Windows.
I think I'll stay with this approach for a while.
What limitations does it have?
I appreciate your help.
It would be nice to understand what prevents me from using Plugins.
2012/5/18 Jeremy Shaw <jeremy at n-heptane.com>:
> plugins-auto has a demo in the darcs repo:
> Does that work for you ?
> - jeremy
> On Wed, May 16, 2012 at 9:46 AM, Андрей Янкин <yankin013 at gmail.com> wrote:
>> I'm newbie and I've got a problem.
>> I'm trying to get example programs from plugins-auto  or hotswap  to work.
>> I think question on stackoverflow  somewhat related to my problem.
>> They are compiled well, but in runtime I get either
>> or Prelude.undefined
>> or internal error: PAP object entered!
>> I use GHC 7.4.1. x86_64 Ubuntu
>> I've read "Plugging Haskell In" and would like to make some fun with
>> plugins, but alas...
>> Maybe -dynamic flag is what I seek? Or maybe I need to know something else?
>> Maybe I needn't use Plugins package like in gitit?
>> Please, could you explain how to compile plugins in haskell correctly?
>> Where should I start?
>>  http://hackage.haskell.org/package/plugins-auto
>>  http://hackage.haskell.org/package/hotswap
>>  http://stackoverflow.com/questions/5427777/help-with-haskell-dynamic-plugin-load
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe