Update examples to use new module names
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
module Plugin where
|
||||
|
||||
import API
|
||||
import AltData
|
||||
import AltData.Dynamic
|
||||
|
||||
my_fun = plugin {
|
||||
equals = \x y -> (x /= y) -- a strange equals function :)
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
module API where
|
||||
|
||||
import AltData
|
||||
import AltData.Typeable
|
||||
|
||||
data Interface = Interface {
|
||||
equals :: forall t. Eq t => t -> t -> Bool
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
#include "../../../../config.h"
|
||||
|
||||
import Plugins
|
||||
import System.Plugins
|
||||
import API
|
||||
|
||||
main = do
|
||||
|
Reference in New Issue
Block a user