repositories
/
cloogle-irc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Generic parsing and printing
[cloogle-irc.git]
/
test.icl
diff --git
a/test.icl
b/test.icl
index
5ffe818
..
d67e97d
100644
(file)
--- a/
test.icl
+++ b/
test.icl
@@
-10,7
+10,7
@@
Start :: [String]
Start = map toString
[NICK "clooglebot" Nothing
,USER "cloogle" "0" "Cloogle bot"
Start = map toString
[NICK "clooglebot" Nothing
,USER "cloogle" "0" "Cloogle bot"
- ,JOIN
[("#cloogle", Nothing)]
- ,PRIVMSG
["#cloogle"]
"Hello world"
+ ,JOIN
(CSepList ["#cloogle"]) Nothing
+ ,PRIVMSG
(CSepList ["#cloogle"])
"Hello world"
,QUIT Nothing
]
,QUIT Nothing
]