<div dir="ltr">I'd like to point out the following changes in the Erlang shell, for your everyday use:<br><div><br></div><div><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">OTP-14190 Application(s): stdlib
The shell functions c/1 and c/2 have been extended so
that if the argument is a module name instead of a file
name, it automatically locates the .beam file and the
corresponding source file, and then recompiles the
module using the same compiler options (plus any
options passed to c/2). If compilation fails, the old
beam file is preserved. Also adds c(Mod, Opts, Filter),
where the Filter argument allows you to remove old
compiler options before the new options are added.
New utility functions file_find/2/3 and
find_source/1/2/3 have been added to filelib.</pre><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap"><br></pre><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap"><pre style="word-wrap:break-word;white-space:pre-wrap">OTP-14059 Application(s): kernel, stdlib
Functions for detecting changed code has been added.
code:modified_modules/0 returns all currently loaded
modules that have changed on disk. code:module_status/1
returns the status for a module. In the shell and in c
module, mm/0 is short for code:modified_modules/0, and
lm/0 reloads all currently loaded modules that have
changed on disk.</pre></pre></div><div class="gmail_extra"><div><div class="gmail_signature" data-smartmail="gmail_signature"><br></div><div class="gmail_signature" data-smartmail="gmail_signature"> /Richard</div></div><div class="gmail_signature" data-smartmail="gmail_signature"><br></div></div></div>