Update examples
This commit is contained in:
8
testsuite/shell/simple/StringProcessorAPI.hs
Normal file
8
testsuite/shell/simple/StringProcessorAPI.hs
Normal file
@ -0,0 +1,8 @@
|
||||
module StringProcessorAPI where
|
||||
|
||||
data Interface = Interface {
|
||||
stringProcessor :: String -> String
|
||||
}
|
||||
|
||||
plugin :: Interface
|
||||
plugin = Interface { stringProcessor = id }
|
Reference in New Issue
Block a user