about summary refs log blame commit diff
path: root/src/hello2.erl
blob: 42406919eff894238f442082b5d66587efd8ffb2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                     
-module(hello2).
-export([hello/1]).

hello(Name) ->
    io:format("Hello ~s!~n", [Name]).

% 3> c(hello2).
% {ok,hello2}
% 4> hello2:hello("Joe").
% Hello Joe!
% ok