[erlang-questions] Erlang documentation

Michael Truog mjtruog@REDACTED
Tue Sep 20 11:04:28 CEST 2016


On 09/20/2016 01:53 AM, Alin Popa wrote:
> Worth mentioning that maybe there should be a version tag for each function/module saying when it was added? Happened to me few times already to realise that a particular function which was present in the documentation, was not available in my particular Erlang version, and I found out that only when running the tests (e.g. ets:update_counter/4 is not available in Erlang 17, but I can see it in here http://erlang.org/doc/man/ets.html#update_counter-4; and unless I'm missing something, it doesn't say when it was added).
Currently, we can use the external site http://erldocs.com/18.3/stdlib/ets.html?i=352 and change the version number in the URL to determine that the change occurred sometime in an 18.x release, but it would be nice to make things simpler.  I have seen this be a problem more than once.





More information about the erlang-questions mailing list