repositories
/
cloogle-irc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update
[cloogle-irc.git]
/
test.icl
diff --git
a/test.icl
b/test.icl
index
d9498b4
..
5ffe818
100644
(file)
--- a/
test.icl
+++ b/
test.icl
@@
-1,5
+1,16
@@
module test
module test
+from Data.Func import $
+import Data.Either
+import Data.Maybe
+import StdEnv
import IRC
import IRC
-Start = "hi"
+Start :: [String]
+Start = map toString
+ [NICK "clooglebot" Nothing
+ ,USER "cloogle" "0" "Cloogle bot"
+ ,JOIN [("#cloogle", Nothing)]
+ ,PRIVMSG ["#cloogle"] "Hello world"
+ ,QUIT Nothing
+ ]