[erlang-questions] Exporting OTP types
Juan Jose Comellas
juanjo@REDACTED
Fri Oct 19 17:25:25 CEST 2012
There are several OTP modules where the types returned by exported
functions are defined but not exported themselves. An example of them are
the following types from the supervisor module, though there are serveral
more:
-type startlink_err() :: {'already_started', pid()} | 'shutdown' | term().
-type startlink_ret() :: {'ok', pid()} | 'ignore' | {'error',
startlink_err()}.
Would it be possible to export them? Would a patch that does this be
accepted?
Juanjo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20121019/09ac9159/attachment.htm>
More information about the erlang-questions
mailing list