diff options
Diffstat (limited to 'erlang/matching_function.erl')
-rw-r--r-- | erlang/matching_function.erl | 6 |
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. |