<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Mar 10, 2015 at 2:03 PM, Brandon Allbery <span dir="ltr"><<a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div><div class="h5"><div class="gmail_quote">On Mon, Mar 9, 2015 at 10:33 PM, Rustom Mody <span dir="ltr"><<a href="mailto:rustompmody@gmail.com" target="_blank">rustompmody@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div><div>My impression is that earlier<br>[] == []<br></div>used to give a type error. Now it gives True.<br></div><br></div>So<br></div>1. Which instance of == is being used?<br></div>2. Is there some option controlling this behavior?<br>
</div>
</blockquote></div><div class="gmail_extra"><br></div></div></div>The instance being used is (), and it's controlled by -XExtendedDefaultRules.</div><div class="gmail_signature"><br></div><div class="gmail_extra"><a href="https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/interactive-evaluation.html#extended-default-rules" target="_blank">https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/interactive-evaluation.html#extended-default-rules</a><span class=""><font color="#888888"><br></font></span></div></div></blockquote><div><br></div><div>Thats what I first thought<br>Tried starting ghci with -XNoExtendedDefaultRules<br></div><div>but it does not turn it off<br></div></div>
</div></div>