about summary refs log blame commit diff
path: root/users/tazjin/presentations/erlang-2016/src/hello2.erl
blob: 2d1f6c84c401b899640523b93ac9158a08e95553 (plain) (tree)
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