Prelude> :d +Monad<br><br><interactive>:1:22:<br> Couldn't match expected type `String -> IO String'<br> against inferred type `()'<br> In the expression: ()<br> In the expression: () :: String -> IO String<br>
In the definition of `__cmCompileExpr':<br> __cmCompileExpr = () :: String -> IO String<br><br>That is the actual thing. <br><br><div class="gmail_quote">On 24 February 2010 00:05, Chimpion Chimpion <span dir="ltr"><<a href="mailto:chimpionspeak@gmail.com">chimpionspeak@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Could anyone tell me why this might be happening? I was trying to add some modules to the GHCi(:d +...).<br>
<br> Couldn't match expected type `String -> IO String'<br> against inferred type `()'<br>
In the expression: ()<br> In the expression: () :: String -> IO String<br> In the definition of `__cmCompileExpr':<br> __cmCompileExpr = () :: String -> IO String<br><br>Thank you.<br clear="all">
<br><br>
</blockquote></div><br><br clear="all"><br>-- <br>What we've got here is a failure to communicate.<br>