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

Matthew Dempsky <>
Wed Apr 30 21:27:20 CEST 2008

2008/4/30 Jarrod Roberson <>:
> I have also tried spawn(?MODULE, loop, []) and I get a warning that loop/0
> is unused.

You need to add loop/0 to -export.

More information about the erlang-questions mailing list