Update examples
This commit is contained in:
9
testsuite/pdynload/poly1/api/API.hs
Normal file
9
testsuite/pdynload/poly1/api/API.hs
Normal file
@ -0,0 +1,9 @@
|
||||
module API where
|
||||
|
||||
data Interface = Interface {
|
||||
function :: (Num a) => a -> a -> a
|
||||
}
|
||||
|
||||
plugin :: Interface
|
||||
plugin = Interface { function = error "no function defined" }
|
||||
|
Reference in New Issue
Block a user