[erlang-questions] Is inet_parse.erl deprecated?
Fri Sep 21 15:23:50 CEST 2012
If you care, I prefer adding them to the inet module.
Sent from Moxier Mail
----- Ursprungligt meddelande -----
Från: Raimo Niskanen <raimo+erlang-questions@REDACTED>
Till: "erlang-questions@REDACTED" <erlang-questions@REDACTED>
Skickat: 21-09-2012 2:54 em
Ämne: Re: [erlang-questions] Is inet_parse.erl deprecated?
On Thu, Sep 20, 2012 at 03:12:49PM +0200, Matthias Lang wrote:
> I find these functions quite useful:
> but inet_parse isn't documented at all. Is that an oversight, or are
> those functions available through something else?
It is an oversight, or rather it is on our ToDo list.
But we have not decided if it is those we will document, or if
it is better to create wrappers a'la inet:parse_address/1 to
not expose the module inet_parse as an API module...
There are too many using these so it is probably not possible
to remove them without a deprecation cycle, even though they
never have been supported. And they will not be deprecated
until there are alternatives e.g in inet.
> I'm not the only one using them; they're called the 'diameter', 'ssh'
> and 'public_key' applications as well as by a number of things in the kernel.
> erlang-questions mailing list
/ Raimo Niskanen, Erlang/OTP, Ericsson AB
erlang-questions mailing list
More information about the erlang-questions