summaryrefslogtreecommitdiff
path: root/erlang/matching_function.erl
blob: 178f189c883dc9392c265ce374ccac9819a992aa (plain) (blame)
1
2
3
4
5
6
-module(matching_function).
-export([number/1]).

number(one) -> 1;
number(two) -> 2;
number(three) -> 3.