about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2016-09-22T11·56+0200
committerVincent Ambo <tazjin@gmail.com>2016-09-22T11·56+0200
commit6c456a06c7166b70a2347283a7afcfc4107cb3c7 (patch)
treebf6377406adb5b40d93a37119755e1ce7dde1fa6 /src
Initial check-in
Diffstat (limited to 'src')
-rw-r--r--src/hello.erl5
-rw-r--r--src/hello1.erl5
-rw-r--r--src/hello2.erl11
3 files changed, 21 insertions, 0 deletions
diff --git a/src/hello.erl b/src/hello.erl
new file mode 100644
index 000000000000..56404a0c5a20
--- /dev/null
+++ b/src/hello.erl
@@ -0,0 +1,5 @@
+-module(hello).
+-export([hello_joe/0]).
+
+hello_joe() ->
+    hello_joe.
diff --git a/src/hello1.erl b/src/hello1.erl
new file mode 100644
index 000000000000..ca78261399e1
--- /dev/null
+++ b/src/hello1.erl
@@ -0,0 +1,5 @@
+-module(hello1).
+-export([hello_joe/0]).
+
+hello_joe() ->
+    hello_joe.
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