<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Mar 10, 2015 at 9:18 AM, 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-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="">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-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div><div><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-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div><div>1. Which instance of == is being used?<br></div></div></div></div></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><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><font color="#888888"><br></font></span></div></div></blockquote><div><br></div></span><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>
</blockquote></div><br>Looks like -X only affects compiler flags:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">    Prelude> :showi language</div><div class="gmail_extra">    base language is: Haskell2010</div><div class="gmail_extra">    with the following modifiers:</div><div class="gmail_extra">      -XNoMonomorphismRestriction</div><div class="gmail_extra">      -XNoDatatypeContexts</div><div class="gmail_extra">      -XNondecreasingIndentation</div><div class="gmail_extra">      -XExtendedDefaultRules</div><div><br></div><div>Probably need to use :seti inside of ghci, or in a .ghci / ghci.ini file.</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>