New version of hs-plugins
Donald Bruce Stewart
dons at cse.unsw.edu.au
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:
* eval :: Typeable a => String -> [Import] -> IO (Maybe a)
* Foreign language bindings to eval:
int main(int argc, char *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