Re: system_info(nif_version) does not work

PAILLEAU Eric <[email protected]>
Newsgroups gmane.comp.lang.erlang.bugs
Message-ID <[email protected]>
Thinking to this ...

-since erlang:system_info(nif_version) -> "17.4".

-spec erlang:system_info
	(allocated_areas) -> [ tuple() ];

		snip --- snip

   	(nif_version) -> string();

		snip --- snip
	(wordsize | {wordsize, internal} | {wordsize, external}) -> 4 | 8.

This could also be pickup by doc generation, BTW...


Le 21/01/2015 19:49, Eric Pailleau a écrit :
> Hi,
> not really a distraction, but a very common problem. As I already wrote
> in a former mail, documentation do not give the first version where a
> function or a function argument is available. was not really a problem
> in the past when API was stable, but now a concern with functions inflation.
> it might be clever, in addition of -spec , a -since or somewhat.
> This way it would be easier to a tool, dialyzer or other to say what is
> the minimal erlang version needed by the code. A big work, but could be
> done by community, I guess.
> MHO.
_______________________________________________
erlang-bugs mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-bugs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.