<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Mar 10, 2015 at 6:54 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="">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></span><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><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></span><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"><span class="">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></span><span class=""><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></span></div><div class="gmail_extra"><br></div></div></div><span class="">The instance being used is (), and it's controlled by -XExtendedDefaultRules.</span></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><span class=""><div>Thats what I first thought<br>Tried starting ghci with  -XNoExtendedDefaultRules<br></div><div>but it does not turn it off<br></div></span></div>
</div></div>
</blockquote></div><br>Looks like -X only affects compiler flags:</div><div class="gmail_extra"><br></div><div class="gmail_signature"><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></div></blockquote><div><br></div><div>Ok that did it -- Thanks Brandon. <br><br></div><div>Also thanks Taylor for the exact pointer to the divergence between ghc and ghci semantics<br></div></div>
</div></div>