From d7778c081a053cf571b041ed6f6d21c11e502912 Mon Sep 17 00:00:00 2001 From: Andrea Rossato Date: Wed, 3 Oct 2007 13:07:43 +0200 Subject: HelloWorld defines only run darcs-hash:20071003110743-d6583-00a55879b712ba4ec61ad69dd7c02dea77d1ca51.gz --- Plugins/HelloWorld.hs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Plugins/HelloWorld.hs b/Plugins/HelloWorld.hs index 2bde4c4..352a8a8 100644 --- a/Plugins/HelloWorld.hs +++ b/Plugins/HelloWorld.hs @@ -20,6 +20,5 @@ data HelloWorld = HelloWorld deriving (Read, Show) instance Exec HelloWorld where - rate HelloWorld = 0 - alias HelloWorld = "helloWorld" - start HelloWorld cb = cb "Hello World!!" + alias HelloWorld = "helloWorld" + run HelloWorld = return "Hello World!!" -- cgit v1.2.3