json-autotype 0.2.5.6 → 0.2.5.7
raw patch · 3 files changed
+16/−5 lines, 3 files
Files
- Data/Aeson/AutoType/Plugin/Loader.hs +10/−3
- changelog.md +5/−1
- json-autotype.cabal +1/−1
Data/Aeson/AutoType/Plugin/Loader.hs view
@@ -29,10 +29,17 @@ -- | 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. importPlugins :: Typeable a =>- String -> -- ^ name exported from each module as an interface- [String] -> -- ^ list of plugin modules (given as either module paths or file paths)- IO [a] -- ^ Result is a list of exported objects in the order of module names+ String ->+ [FilePath] ->+ IO [a] importPlugins interfaceName pluginModules = do result <- Hint.runInterpreter $ do Hint.loadModules pluginModules
changelog.md view
@@ -1,6 +1,10 @@ Changelog =========- 0.2.5.5 Mar 2015+ 0.2.5.7 Mar 2015++ * Fixed documentation anchors, and unit test classification for failures.+ + 0.2.5.6 Mar 2015 * Relaxed upper bounds for lens 4.8.
json-autotype.cabal view
@@ -1,6 +1,6 @@ -- Build information for the package. name: json-autotype-version: 0.2.5.6+version: 0.2.5.7 synopsis: Automatic type declaration for JSON input data description: Generates datatype declarations with Aeson's "FromJSON" instances from a set of example ".json" files.