| Safe Haskell | Safe-Infered |
|---|
System.Plugins.Hotswap
Documentation
newPlugin :: FilePath -> [FilePath] -> String -> IO (Plugin a)Source
Create a new plugin. Don't use this to reload plugins.
Constructors
| Plugin | |
Fields
| |
usePlugin :: Plugin (a -> b) -> a -> IO bSource
usePlugin provides a simple way to use plugins of type 'Plugin (a -> b)', ie, only
single argumented ones.
reloadPlugin :: Plugin a -> IO ()Source
Reload a plugin in-place.