[Haskell-beginners] IO Question

Nathan Holden nathanmholden at gmail.com
Tue Dec 30 22:41:02 EST 2008

I've been playing around with some types, and such, and I can get some basic
IO. But the thing that confused me is this: How is it that IO [Char] ==
[Char] can be True, but IO a == a is a type error? How can you implement eq
for a type so that IO (type) == type?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/beginners/attachments/20081230/338c9178/attachment.htm

More information about the Beginners mailing list