17 lines
214 B
Haskell
Raw Normal View History

2005-04-24 08:51:33 +00:00
--
-- API for plugin test
--
module API where
import Modules.Flags as Flags
data Interface = Interface {
dbFunc :: Flags.FlagRec -> Int
}
plugin :: Interface
plugin = Interface { dbFunc = (\x -> 1) }