improve help
[cloogle-irc.git] / test.icl
index d9498b4..d9ab2b7 100644 (file)
--- a/test.icl
+++ b/test.icl
@@ -1,5 +1,16 @@
 module test
 
+from Data.Func import $
+import Data.Either
+import Data.Maybe
+import StdEnv
 import IRC
 
-Start = "hi"
+Start :: [String]
+Start = map toString
+       [NICK "clooglebot"
+       ,USER "cloogle" 0 "Cloogle bot"
+       ,JOIN [("#cloogle", Nothing)]
+       ,PRIVMSG "#cloogle" "Hello world"
+       ,QUIT Nothing
+       ]