summaryrefslogtreecommitdiff
path: root/erlang/matching_function.erl
diff options
context:
space:
mode:
authorGuillermo Ramos2012-05-08 23:57:54 +0200
committerGuillermo Ramos2012-05-08 23:57:54 +0200
commit8172bdd6bdc9523ebde5dd8c1022e971c0299ada (patch)
tree41ab680dd4c0d78a5d5c782370aa88285dde931a /erlang/matching_function.erl
parentbedac58408e4c6a701dd8065ed7a11277f5358e5 (diff)
download7l-8172bdd6bdc9523ebde5dd8c1022e971c0299ada.tar.gz
[Erlang] Día 1
Diffstat (limited to 'erlang/matching_function.erl')
-rw-r--r--erlang/matching_function.erl6
1 files changed, 6 insertions, 0 deletions
diff --git a/erlang/matching_function.erl b/erlang/matching_function.erl
new file mode 100644
index 0000000..178f189
--- /dev/null
+++ b/erlang/matching_function.erl
@@ -0,0 +1,6 @@
+-module(matching_function).
+-export([number/1]).
+
+number(one) -> 1;
+number(two) -> 2;
+number(three) -> 3.