etsmodule now contains iterator functions
foldr/3analogous to the ones in the
?MODULE_STRING, which expands to the name of the current module, as a string.
erl -name foo), then
slave:start/1on a nonexistent host exits instead of returning an error tuple.
etsmodule can crash Erlang or block it for a long time, e.g.,
warn_unused_varsoption to the compiler, warnings may be incorrectly given for variables used within list comprehensions.
catch, which is not legal Erlang, was not caught by the linter in OTP R6, but caused the compiler to crash instead.
iomodule to do I/O on a remote node could hang if the file process had terminated.
receiveconstructions in one function and variables were exported from them,
erl_lint(and thus compilation) could consume too much memory, even making compilation impossible.
gen_server:multi_call/4reported good nodes as bad, if one of the nodes was on an unreachable host.
win32regmodule has now been documented. At the same time, a few problems were fixed.
??Argfor an argument to a macro expands to a string containing the tokens of the argument, similar to the
#argstringifying construction in C.
gen_eventto a process on another node no longer hang indefinitely if the timeout is
infinityand the process doesn't exist. The exit reason in that case is
noproc(for local processes, this change was made already in OTP R5).
receiveare now only given if the variables are later used within a pattern.
sets(unordered set), and
ordsets(ordered set). The API functions have been extended to allow more efficient updates of sets and dictionaries. Some API functions are now considered deprecated. See the documentation for each module.
dict module uses a new internal representation.
Applications that bypassed the documented API functions and
assumed that dictionaries were lists will no longer work.
(*** POTENTIAL INCOMPATIBILITY ***)
Own Id: OTP-3519
digraph: one can no longer create loops in acyclic graphs. New functions in
digraph_utilsimplements some algorithms based on depth-first traversal of directed graphs.
gen_server:multi_call/4, which was previously undocumented, is now documented.
get_cycle/2no longer occasionally duplicate the first vertex in the presence of a loop. New functions in
beam_libreads data from BEAM files.