
22 Nov
2007
22 Nov
'07
5:11 a.m.
Hi, Thanks for answer.
There are two libs that I'm aware of.
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/plugins-1.0
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/metaplug-0.1. 1
Unfortunatly former needs gcc, latter does not compile . I will have to install msys or something I guess
It's more like dynamic linking than Java's reflection: you have to already know what functions are in the module (and their types) to be able to call them. I'm not sure about directly creating values of data types exported from the module.
I know the types - not a problem. I just don't know the names. Thanks, Radek.