[erlang-bugs] example of io_lib:fread/2
Fri Apr 11 12:53:45 CEST 2008
Sebastian Egner wrote:
> Hi there,
> This is not a bug report, but an Erlang beginner here spent a long time
> staring at the output:
> 1> io_lib:fread("Uptime: ~d", "Uptime: 100").
> Maybe a candidate for an example that comes with io_lib:fread/2...
This is not really the io_lib:fread/2 issue. Try this:
When a list is printed in the shell if it contains all integers being
printable characters, they are printed as a string.
More information about the erlang-bugs