Update examples
This commit is contained in:
9
testsuite/pdynload/small/api/API.hs
Normal file
9
testsuite/pdynload/small/api/API.hs
Normal file
@ -0,0 +1,9 @@
|
||||
module API where
|
||||
|
||||
data Interface = Interface {
|
||||
function :: String
|
||||
}
|
||||
|
||||
plugin :: Interface
|
||||
plugin = Interface { function = "goodbye" }
|
||||
|
Reference in New Issue
Block a user