[erlang-questions] Inconsistency in start_link

Billy Svensson billy.svensson@REDACTED
Tue Jan 9 17:07:43 CET 2018


Is there any particular reason why supervisor:start_link/3 takes a
SupName of {global, atom()} instead of {global, term()}?

I can't see any reason why it's limiting the global name to a atom
instead of a tuple since it's just passing the SupName to
gen_server:start_link/4 that accepts {global, term()}, but maybe I'm
missing something?



More information about the erlang-questions mailing list