repositories
/
cloogle-irc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix message parsing without prefix
[cloogle-irc.git]
/
test.icl
diff --git a/test.icl
b/test.icl
new file mode 100644
(file)
index 0000000..
f402f99
--- /dev/null
+++ b/
test.icl
@@ -0,0
+1,12
@@
+module test
+
+
+import gast
+import IRC
+
+derive ggen IRCMessage
+
+Start = Test [] pParsePrint
+
+pParsePrint :: IRCMessage -> Bool
+pParsePrint a = toString (parseIRCMessage (toString a)) == toString a