<br>Hey Jesse<div> I need something stronger than just import. I need to put a bunch of functions from different modules into a single one and transfer this to a remote node. Then I want to be able to use these functions from the remote node. </div>
<div>If I simply use import, I will not be able to use them on the remote node without explicitly transferring all the modules to which the functions belong to.</div><div><br></div><div><br><div class="gmail_quote">On Tue, Aug 14, 2012 at 5:10 PM, Jesse Gumm <span dir="ltr"><<a href="mailto:gumm@sigma-star.com" target="_blank">gumm@sigma-star.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>That sounds like you're looking for</p>
<p>-import(Module, Functions).</p>
<p> <a href="http://www.erlang.org/doc/reference_manual/modules.html" target="_blank">http://www.erlang.org/doc/reference_manual/modules.html</a> </p>
<p>--<br>
Jesse Gumm<br>
Owner, Sigma Star Systems<br>
<a href="tel:414.940.4866" value="+14149404866" target="_blank">414.940.4866</a> || <a href="http://sigma-star.com" target="_blank">sigma-star.com</a> || @jessegumm</p>
<div class="gmail_quote"><div><div class="h5">On Aug 14, 2012 9:56 AM, "Tyron Zerafa" <<a href="mailto:tyron.zerafa@gmail.com" target="_blank">tyron.zerafa@gmail.com</a>> wrote:<br type="attribution"></div>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hey all,<div> Is there any mechanism in Erlang which I can use to copy functions from one module to another? So, if I have module <b>A</b> containing functions <b>a</b>, <b>b</b> and <b>c</b>, is there any way in which I can copy <b>a</b> to module B?<br clear="all">
<div><br></div><div>Thanks </div><div>Tyron</div><br>
</div>
<br></div></div>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Best Regards,<div>Tyron Zerafa</div><br>
</div>