<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>So... the error_handler is central in the implementation of a much-lauded (albeit not unique) function in Erlang - on-demand code loading. People have been asked not to mess with it, since (a) it's subtle, and (b) it has global scope. Now we have a chance to address (b).</div><div><br></div><div>The behavior of this function can aready be tweaked, using the -mode parameter. Are we content that this covers all worthy uses?</div><div><br></div><div>BR,</div><div>Ulf W</div><div><br></div><div>Whether Evan is or is not a witch, the practice of burning them at the stake has long since been abandoned. ;-)<br><br>Ulf Wiger, Feuerlabs, Inc.<div><a href="http://www.feuerlabs.com">http://www.feuerlabs.com</a></div></div><div><br>20 jan 2013 kl. 00:16 skrev Robert Virding <<a href="mailto:robert.virding@erlang-solutions.com">robert.virding@erlang-solutions.com</a>>:<br><br></div><blockquote type="cite"><div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000">Isn't that the best reason NOT to implement it. Kill -extends() instead, it sucks.<br><br>Robert<br><br><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Björn Gustavsson" <<a href="mailto:bgustavsson@gmail.com">bgustavsson@gmail.com</a>><br><b>To: </b>"Anthony Ramine" <<a href="mailto:n.oxyde@gmail.com">n.oxyde@gmail.com</a>><br><b>Cc: </b>"Erlang-questions" <<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>><br><b>Sent: </b>Friday, 18 January, 2013 4:57:14 PM<br><b>Subject: </b>Re: [erlang-questions] Erlang4Android<br><br><div dir="ltr">To implement the -extends() attribute that allows the<div style="">implementation of a module to be extended by</div><div style="">inheritance. That used to be implemented in the</div><div style="">error_handler. I have removed that code in the same</div>
<div style="">commit that implements $handle-undefined-function.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jan 18, 2013 at 4:36 PM, Anthony Ramine <span dir="ltr"><<a href="mailto:n.oxyde@gmail.com" target="_blank">n.oxyde@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 style="word-wrap:break-word">Out of curiosity, why?<div><span class="HOEnZb"><font color="#888888"><br><div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<div>-- </div><div>Anthony Ramine</div></div></span></div></span></span>
</div>
<br></font></span><div><span class="HOEnZb"><font color="#888888"><div>Le 18 janv. 2013 à 16:25, Björn Gustavsson a écrit :</div></font></span><div class="im"><br><blockquote><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><div>
We needed that to implement the parse</div><div>transformation for parameterized modules</div></span></blockquote></div></div><br></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Björn Gustavsson, Erlang/OTP, Ericsson AB
</div></div>
<br>_______________________________________________<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br><a href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a><br></blockquote><br></div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>erlang-questions mailing list</span><br><span><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a></span><br><span><a href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a></span><br></div></blockquote></body></html>