<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<span></span><span>Thanks Sergiu,</span>
<div><br>
</div>
<div>I know there was some defaulting, but didn't think much of it
beyond that. Special GHCi handling makes sense. Maybe I'll open a
ticket just in case this is an unintended effect.<br>
<br>
Interesting observation about loading it from a file via typing it
in. My code is actually a test case for use with the doctest
package that I was just running manually to work out. I'm not
sure if it does the equivalent of loading it from a file or not.<br>
<br>
Ultimately I wound up doing the binding via a case statement
instead of let. It seems GHCi is okay with that.<br>
<br>
Cheers! -Tyon<br>
</div>
<div><br>
</div>
<div>On Tue, Apr 18, 2017, 17:01 Sergiu Ivanov <<a
href="mailto:sivanov@colimite.fr">sivanov@colimite.fr</a>>
wrote:<br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">GHCi handles
polymorphic types of interactive expressions somewhat<br>
differently from the polymorphic types of expressions loaded
from<br>
files. (I'd be happy if someone could reproduce the
explanation which I<br>
saw a couple times but which I cannot find any more.)<br>
</blockquote>
</div>
</div>
</body>
</html>