Skip to content

Instantly share code, notes, and snippets.

-module(hello2).
-export([start/0]).
start() ->
spawn(fun() -> loop() end).
loop() ->
receive
hello ->
io:format("Hello, World!~n"),
-module(hello).
-export([start/0]).
start() ->
io:format("Hello, World!").