diff options
author | Vincent Ambo <tazjin@gmail.com> | 2016-09-22T11·56+0200 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2016-09-22T11·56+0200 |
commit | 6c456a06c7166b70a2347283a7afcfc4107cb3c7 (patch) | |
tree | bf6377406adb5b40d93a37119755e1ce7dde1fa6 /src/hello2.erl |
Initial check-in
Diffstat (limited to 'src/hello2.erl')
-rw-r--r-- | src/hello2.erl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/hello2.erl b/src/hello2.erl new file mode 100644 index 000000000000..42406919eff8 --- /dev/null +++ b/src/hello2.erl @@ -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 |