repositories
/
cloogle-irc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
working clooglebot
[cloogle-irc.git]
/
test.icl
diff --git
a/test.icl
b/test.icl
index
d9498b4
..
f402f99
100644
(file)
--- a/
test.icl
+++ b/
test.icl
@@
-1,5
+1,12
@@
module test
+
+import gast
import IRC
-Start = "hi"
+derive ggen IRCMessage
+
+Start = Test [] pParsePrint
+
+pParsePrint :: IRCMessage -> Bool
+pParsePrint a = toString (parseIRCMessage (toString a)) == toString a