Initial check-in
This commit is contained in:
commit
6c456a06c7
5 changed files with 151 additions and 0 deletions
11
src/hello2.erl
Normal file
11
src/hello2.erl
Normal file
|
|
@ -0,0 +1,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
|
||||
Loading…
Add table
Add a link
Reference in a new issue