Unfortunately, yes.<br><br><div class="gmail_quote">On 16 November 2010 11:39, Russ Abbott <span dir="ltr">&lt;<a href="mailto:russ.abbott@gmail.com">russ.abbott@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div dir="ltr"><font color="#003333"><font size="2"><font face="trebuchet ms,sans-serif">I&#39;m not sure what you are saying here. Are you saying that it&#39;s not a bug that GHCi went into a coma when I file was loaded and a prompt entered?<br clear="all">


</font></font></font><div dir="ltr"><font><font face="&#39;trebuchet ms&#39;, sans-serif"><i><font color="#003333"><br>-- Russ</font></i></font></font></div><div><div></div><div class="h5"><div dir="ltr"><font><i></i></font><font color="#003333" face="&#39;trebuchet ms&#39;, sans-serif"><i><br>


</i></font><div><font><font face="&#39;trebuchet ms&#39;, sans-serif"><i><font color="#003333"></font></i></font><br></font></div></div>
<br><br><div class="gmail_quote">On Tue, Nov 16, 2010 at 3:34 AM, Ozgur Akgun <span dir="ltr">&lt;<a href="mailto:ozgurakgun@gmail.com" target="_blank">ozgurakgun@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><br><div class="gmail_quote">On 16 November 2010 05:12, Russ Abbott <span dir="ltr">&lt;<a href="mailto:russ.abbott@gmail.com" target="_blank">russ.abbott@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<font color="#003333"><font size="2"><font face="trebuchet ms,sans-serif">I know the code isn&#39;t correct. My point is that the compiler didn&#39;t complain when the code was loaded, and the interpreter died when it was executed. That shouldn&#39;t happen.<br clear="all">





</font></font></font><div dir="ltr"><font><font face="&#39;trebuchet ms&#39;, sans-serif"><i><font color="#003333"><br>-- Russ</font></i></font></font></div><div><div dir="ltr"></div></div></blockquote></div><div>
<br></div></div><div>It would be <i>cool</i> for GHC to make an analysis about the instance methods of a type class, and their default implementations to find the minimal subset of methods you have to implement to get a valid (for some definition of valid) instance declaration. But it doesn&#39;t do such a thing. And it is not an easy task.</div>



<div><br></div><div>GHC only warns you if you do not implement a method which doesn&#39;t have a default implementation. In your example, this is not the case.</div><div><br></div><div>Best,</div><div><br></div><div>-- </div>



Ozgur Akgun<font color="#888888"><br>
</font></blockquote></div><br></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Ozgur Akgun<br>