module API where import Data.Typeable type PState = [String] data Plugin = Plugin { rsrc :: PState -> (PState -> IO ()) -> IO () } deriving Typeable