ANNOUNCE: direct-plugins-1.0

For some time I have relied on Dons's Plugins package, which was perhaps something of a mistake as it's kind of messy inside and I don't think it's maintained. With the upgrade to GHC 6.12, it broke for me, and I wasn't able to get it fixed. But I was able to write my own subset of its functionality. I don't do most of the things that Plugins does - in fact I export only a single function, "load" - but I think it might be useful to somebody, so I've decided to release it. direct-plugins: Lightweight replacement for Plugins, specific to GHC http://hackage.haskell.org/package/direct-plugins This is my first post to this list; I hope it's appropriate. Please let me know if not. -- Dan Knapp "An infallible method of conciliating a tiger is to allow oneself to be devoured." (Konrad Adenauer)

dankna:
For some time I have relied on Dons's Plugins package, which was perhaps something of a mistake as it's kind of messy inside and I don't think it's maintained. With the upgrade to GHC 6.12, it broke for me, and I wasn't able to get it fixed. But I was able to write my own subset of its functionality. I don't do most of the things that Plugins does - in fact I export only a single function, "load" - but I think it might be useful to somebody, so I've decided to release it.
direct-plugins: Lightweight replacement for Plugins, specific to GHC http://hackage.haskell.org/package/direct-plugins
This is my first post to this list; I hope it's appropriate. Please let me know if not.
Good work. I have very little time to maintain hs-plugins, as I'm not using it, so I'm glad you took a look at this. -- Don

Don wrote:
Good work. I have very little time to maintain hs-plugins, as I'm not using it, so I'm glad you took a look at this.
Thanks! I have now released version 1.1 (I know at least one person was waiting on this), which adds a loadDynamic that grovels inside .hi files to check that the value being obtained is in fact of the type Dynamic. Additional type safety is then provided by Dynamic itself. This actually goes one step beyond Dons's Plugins, which only ever planned the looks-inside-.his thing, not implemented it. -- Dan Knapp "An infallible method of conciliating a tiger is to allow oneself to be devoured." (Konrad Adenauer)
participants (2)
-
Dan Knapp
-
Don Stewart