[erlang-questions] what is the correct syntax to spawm a MFA with no arguments?

Robert Virding <>
Thu May 1 00:55:16 CEST 2008

That, unfortunately, is a property of spawning MFA and it has been since the
beginning of time (AE Anno Erlang). It was also the major reason for adding
spawning a fun, to avoiding exporting private functions.

So you either spawn MFA and export, or spawn a fun and don't.


2008/5/1 Jarrod Roberson <>:

> yes thanks to everyone who has responded, I was just hoping there is
> another way without having to -export what appears _should_ be a "private"
> implementation detail.
> _______________________________________________
> erlang-questions mailing list
> http://www.erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080501/5f6eb0a3/attachment.html>

More information about the erlang-questions mailing list