Safe Haskell | None |
---|---|
Language | Haskell2010 |
Module implementing loading generic plugins using Hint.
Documentation
importPlugins :: Typeable a => String -> [FilePath] -> IO [a] Source
Imports a set of plugin modules with the same "interface" value, and returns values exported as their interfaces.
Arguments: * argument name exported from each module as an interface, * list of plugin modules (given as either module paths or file paths).
Result: * Result is a list of exported objects in the order of module names.