Logo

Programming-Idioms

History of Idiom 59 > diff from v27 to v28

Edit summary for version 28 by :
New Erlang implementation by user [elbrujohalcon]

Version 27

2016-04-05, 04:30:50

Version 28

2016-04-05, 04:33:14

Idiom #59 Write to standard error stream

Print the message "x is negative" to standard error (stderr), with integer x value substitution (e.g. "-2 is negative").

Idiom #59 Write to standard error stream

Print the message "x is negative" to standard error (stderr), with integer x value substitution (e.g. "-2 is negative").

Code
io:format(standard_error, "~p is negative~n", [X]).
Doc URL
http://erlang.org/faq/how_do_i.html#idp32283472
Demo URL
http://tryerl.seriyps.ru/#id=79f3