testParse returns an IO action. show expects an argument that is in Show. You will need to bind the result of testParse to a name and ensure that LogMessage is in Show.
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners