This language bar is your friend. Select your favorite languages!
Edit summary for version 28 :
New Erlang implementation by user [elbrujohalcon]

Version 27

Version 28

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