tvl-depot/src/hello2.erl
2016-09-22 15:37:17 +02:00

11 lines
164 B
Erlang

-module(hello2).
-export([hello/1]).
hello(Name) ->
io:format("Hey ~s!~n", [Name]).
% 3> c(hello2).
% {ok,hello2}
% 4> hello2:hello("Joe").
% Hello Joe!
% ok