<p dir="ltr">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.</p>