[erlang-questions] io_lib printable list

Yuri Shefer <>
Sun Sep 22 02:08:43 CEST 2013


Hi all,

I have a silly question.

Why io_lib:printable_list() accept characters only in the quotes? Is it
needed even for the numbers?

8> io:getopts().
[{expand_fun,#Fun<group.0.56199974>},
 {echo,true},
 {binary,false},
 {encoding,latin1}]
9> io_lib:printable_list(1).
false
10> io_lib:printable_list("1").
true


-- 
Best regards,
Yuri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130921/1642e3ae/attachment.html>


More information about the erlang-questions mailing list