Import hs-plugins cvs

This commit is contained in:
Don Stewart
2005-04-24 08:51:33 +00:00
commit 887fa59389
494 changed files with 23721 additions and 0 deletions

View File

@ -0,0 +1,11 @@
import Plugins
import API
main = do
m_v <- dynload "../Plugin.o" ["../api"]
["../../../../plugins.conf.inplace"] "resource_dyn"
case m_v of
LoadFailure _ -> putStrLn "didn't compile"
LoadSuccess _ v -> putStrLn $ (function v)

View File

@ -0,0 +1,4 @@
Couldn't match `API.Interface' against `Int -> Int'
Expected type: API.Interface
Inferred type: Int -> Int
didn't compile