-Start = concat $ map toString
- [NICK "clooglebot" Nothing
- ,USER "cloogle" "0" "cloogle" "Cloogle bot"
- ,JOIN (CSepList ["#cloogle"]) Nothing
- ,PRIVMSG (CSepList ["#cloogle"]) "Hello world"
- ,QUIT Nothing
- ]
+pParsePrint :: IRCMessage -> Bool
+pParsePrint a = toString (parseIRCMessage (toString a)) == toString a