[newbie] spawn-ed functions always exported?

Thomas Lindgren thomasl_erlang@REDACTED
Wed Jan 26 15:57:50 CET 2005


--- Gaspar Chilingarov <nm@REDACTED> wrote:

> Hello all!
> 
> Are there any way not to export functions which are
> logically internal 
> to the module, but appear in spawn command ?

Try, for example:

spawn(fun() -> unexported_function() end).


> or there are some misdesing issue, and usually in
> good designed system 
> they are public by design, but not the language
> limitation?

I'm not sure what you mean here?

Best,
Thomas



	
		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail



More information about the erlang-questions mailing list