json-autotype-1.0.10: Automatic type declaration for JSON input data

Safe HaskellNone
LanguageHaskell2010

Data.Aeson.AutoType.Plugin.Loader

Description

Module implementing loading generic plugins using Hint.

Synopsis

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.

main :: IO () Source

Test script