Update examples
This commit is contained in:
9
testsuite/multi/3plugins/api/API.hs
Normal file
9
testsuite/multi/3plugins/api/API.hs
Normal file
@ -0,0 +1,9 @@
|
||||
module API where
|
||||
|
||||
data Interface = Interface {
|
||||
valueOf :: String -> String
|
||||
}
|
||||
|
||||
plugin :: Interface
|
||||
plugin = Interface { valueOf = id }
|
||||
|
Reference in New Issue
Block a user