[Haskell-cafe] How to use Plugins package?

Jeremy Shaw jeremy at n-heptane.com
Fri May 18 17:01:05 CEST 2012


plugins-auto has a demo in the darcs repo:

http://www.patch-tag.com/r/facundo/plugins-auto/snapshot/current/content/pretty/demo

Does that work for you ?

- jeremy

On Wed, May 16, 2012 at 9:46 AM, Андрей Янкин <yankin013 at gmail.com> wrote:
> Hi,
>
> I'm newbie and I've got a problem.
>
> I'm trying to get example programs from plugins-auto [1] or hotswap [2] to work.
> I think question on stackoverflow [3] somewhat related to my problem.
>
> They are compiled well, but in runtime I get either
> segfault
> 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?
>
>
> [1] http://hackage.haskell.org/package/plugins-auto
> [2] http://hackage.haskell.org/package/hotswap
> [3] http://stackoverflow.com/questions/5427777/help-with-haskell-dynamic-plugin-load
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe



More information about the Haskell-Cafe mailing list