<div dir="ltr">>  I think only the partial implementations should get that constraint.<div><br></div><div>Oops, I had the misconception that one couldn't add a HasCallStack constraint to method implementations.</div><div><br></div><div>I agree though!<br><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am So., 16. Juni 2019 um 18:26 Uhr schrieb Henning Thielemann <<a href="mailto:lemming@henning-thielemann.de">lemming@henning-thielemann.de</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
On Sun, 16 Jun 2019, Simon Jakobi via Libraries wrote:<br>
<br>
> I like the idea of marking partial functions with HasCallStack.<br>
> But I'd like to point out that we also have class methods where some but not all implementations are partial,<br>
> such as foldr1 in Foldable.<br>
> <br>
> Should methods like these also get a HasCallStack constraint?<br>
<br>
I think only the partial implementations should get that constraint.<br>
</blockquote></div>