[Haskell] Dynamic Loading?

Sebastian Sylvan sebastian.sylvan at gmail.com
Sun Mar 20 11:44:22 EST 2005


I think hslibs is what you're looking for.

/S


On Sun, 20 Mar 2005 03:35:09 -0800, Ashley Yakeley <ashley at semantic.org> wrote:
> Is it possible to do dynamic loading in Haskell?
> 
> Let us say you want to have plug-in loadable widgets. You create a
> widget API, which is in fact a data-type W (which you make an instance
> of Typeable). You then write an application that loads widgets, using
> something like this:
> 
>   loadDynamic :: FilePath -> IO Dynamic
> 
> Someone else could then use your widget API to write code that provides
> a value of type W (or a Dynamic), and compile and link it as a widget
> that can then be loaded.
> 
> Is this possible?
> 
> --
> Ashley Yakeley, Seattle WA
> 
> _______________________________________________
> Haskell mailing list
> Haskell at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell
> 


-- 
Sebastian Sylvan
+46(0)736-818655
UIN: 44640862


More information about the Haskell mailing list