[erlang-questions] Type spec for application:get_env and set_env
Thu Jul 24 15:05:09 CEST 2014
It is possible to use any term() as a key in application:set_env and then retrieve a value by this term using application:get_env (what is very conveniently), but only atom() is allowed as a key in type spec of these functions.
My proposal is to change type spec in favour of any term usage as a key. Any cons?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions