[erlang-questions] Copy function from one Module to another

Jesse Gumm gumm@REDACTED
Tue Aug 14 17:10:39 CEST 2012


That sounds like you're looking for

-import(Module, Functions).

http://www.erlang.org/doc/reference_manual/modules.html

--
Jesse Gumm
Owner, Sigma Star Systems
414.940.4866 || sigma-star.com || @jessegumm
On Aug 14, 2012 9:56 AM, "Tyron Zerafa" <tyron.zerafa@REDACTED> wrote:

> Hey all,
>     Is there any mechanism in Erlang which I can use to copy functions
> from one module to another? So, if I have module *A* containing functions
> *a*, *b* and *c*, is there any way in which I can copy *a* to module B?
>
> Thanks
> Tyron
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120814/fa67d9bb/attachment.htm>


More information about the erlang-questions mailing list