Hi all, I've whipped up an example tarball of how to do "runtime loading" (similar to dynamic loading, a.k.a. dlopen() or LoadLibrary()) in GHC. You can find it here:
http://www.algorithm.com.au/wiki/hacking/haskell.ghc_runtime_loading It's a little example stdin text filter program, that loads in .o and .so "plugins" at runtime. New in version 1.1 is the ability to load .so files as plugins :). I think that with a bit more polish, we may even be able to rename this to a dynamic loader one day. Have fun! -- #ozone/algorithm <[EMAIL PROTECTED]> - trust.in.love.to.save _______________________________________________ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users