[newbie] spawn-ed functions always exported?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[newbie] spawn-ed functions always exported?

Fredrik Linder-2
> -----Original Message-----
> From: owner-erlang-questions
> [mailto:owner-erlang-questions]On Behalf Of Gaspar
> Chilingarov
> Sent: den 26 januari 2005 15:36
> To: erlang-questions
> Subject: [newbie] spawn-ed functions always exported?
>
>
> Hello all!
>
> Are there any way not to export functions which are logically
> internal
> to the module, but appear in spawn command ?

Yes. Use the spawn functions that takes a fun as argument.

/Fredrik