<div dir="ltr">TBH I'd have expected INCOHERENT to cover OVERLAPPABLE, i.e. all bets are off and you've allowed anything including overlaps.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 25, 2019 at 11:26 AM Domínguez, Facundo <<a href="mailto:facundo.dominguez@tweag.io">facundo.dominguez@tweag.io</a>> wrote:<br></div><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>Dear devs,</div><div><br></div><div>I have a program [1] which depends on the ability to specify some instances to be both overlappable and incoherent.<br></div><div><br></div><div>GHC so far, allows only one of the OVERLAPPABLE or INCOHERENT pragmas to be specified per instance. One can still have an overlappable and incoherent instance by using -XIncoherenInstances, but this extension is deprecated.</div><div><br></div><div></div><div>Is there any chance that a patch is accepted to allow multiple instance pragmas? And if not, what would the reason for this constraint?</div><div><br></div><div>Thanks,</div><div>Facundo<br></div><div></div><div></div><div><br></div><div>[1] <a href="https://gist.github.com/facundominguez/2c0292bf6a721b450c46486ff3b71f24" target="_blank">https://gist.github.com/facundominguez/2c0292bf6a721b450c46486ff3b71f24</a></div></div>
_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>brandon s allbery kf8nh</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a></div></div></div></div></div>