New version of hs-plugins

Donald Bruce Stewart dons at
Sat Jun 12 01:26:40 EDT 2004

A new version of the hs-plugins library has been released, v0.9.5.
hs-plugins provides dynamic loading, runtime compilation and an eval()
mechanism for Haskell plugins:

New features:

     * eval :: Typeable a => String -> [Import] -> IO (Maybe a)

     * Foreign language bindings to eval:

        #include "RunHaskell.h"
        #include <stdio.h>

        int main(int argc, char *argv[])
          int i;
          hs_init(&argc, &argv);

          i = hs_eval_i("let fibs = 1:1:zipWith (+) fibs (tail fibs) in fibs !! 20 :: Int");


     * Dynamic typing of plugins now works

     * Bug fixes

Thanks to André Pang, Sean Seefried and Manuel Chakravarty for code and
lots of ideas.


More information about the Glasgow-haskell-users mailing list