You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
248 B
Plaintext
12 lines
248 B
Plaintext
7 years ago
|
% to install:
|
||
|
% sudo apt-get install erlang-ic
|
||
|
% to compile:
|
||
|
% erlc helloworld.erl
|
||
|
% to run:
|
||
|
% erl -noshell -s helloworld hello_world -s init stop
|
||
|
|
||
|
-module(helloworld).
|
||
|
-export([hello_world/0]).
|
||
|
|
||
|
hello_world() -> io:fwrite("hello, world\n").
|