2005-09-03 04:45:14 +00:00

9 lines
220 B
Haskell

module API where
-- the interface between the app and the plugin
data Interface = Interface { function :: String -> String }
-- default values for the interface
plugin :: Interface
plugin = Interface { function = id }