Import hs-plugins cvs
This commit is contained in:
15
examples/dynload/should_fail_1/Plugin.hs
Normal file
15
examples/dynload/should_fail_1/Plugin.hs
Normal file
@ -0,0 +1,15 @@
|
||||
--
|
||||
-- trying to be really mean.
|
||||
--
|
||||
|
||||
module Plugin where
|
||||
|
||||
import API
|
||||
import AltData
|
||||
|
||||
v :: Int -> Int
|
||||
v = \x -> 0xdeadbeef
|
||||
|
||||
resource_dyn :: Dynamic
|
||||
resource_dyn = toDyn v
|
||||
|
Reference in New Issue
Block a user