[Haskell-beginners] How can I print the outcome with using main.

Joel Williamson joel.s.williamson at gmail.com
Tue Feb 24 14:10:02 UTC 2015


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20150224/519d3f90/attachment.html>


More information about the Beginners mailing list