about summary refs log tree commit diff
path: root/presentations/erlang-2016/src/hello2.erl
blob: 2d1f6c84c401b899640523b93ac9158a08e95553 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
-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