From 20846e8dddb61eed64100b4f21b4b493b5005eac Mon Sep 17 00:00:00 2001 From: Andrea Rossato Date: Thu, 12 Jul 2007 23:56:15 +0200 Subject: removed the Show instance requirement for plugins darcs-hash:20070712215615-d6583-463ad3d9d1282fd1f129f34f405c66e0795962fd.gz --- Plugins/HelloWorld.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Plugins') diff --git a/Plugins/HelloWorld.hs b/Plugins/HelloWorld.hs index 2b52506..8e68713 100644 --- a/Plugins/HelloWorld.hs +++ b/Plugins/HelloWorld.hs @@ -16,10 +16,10 @@ module Plugins.HelloWorld where import Commands -data Plugin = HelloWorld - deriving (Show, Read) +data HelloWorld = HelloWorld + deriving (Read) -instance Exec Plugin where +instance Exec HelloWorld where run HelloWorld = return "Hello World!!" rate HelloWorld = 1000 alias HelloWorld = "helloWorld" -- cgit v1.2.3