Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -module(test).
- -export([t_w/0, t_wo/0,
- t_w/1, t_wo/1,
- t_w/2, t_wo/2,
- t_w/3, t_wo/3]).
- t_w() ->
- some:method(),
- some:other_method().
- t_wo() ->
- some:other_method().
- t_w(A) ->
- some:method(),
- case A of
- a ->
- some:other_method()
- end.
- t_wo(A) ->
- case A of
- a ->
- some:other_method()
- end.
- t_w(A,B) ->
- some:method(),
- case {A,B} of
- {a,b} ->
- some:other_method()
- end.
- t_wo(A,B) ->
- case {A,B} of
- {a,b} ->
- some:other_method()
- end.
- t_w(A,B,C) ->
- some:method(),
- case {A,B,C} of
- {a,b,c} ->
- some:other_method()
- end.
- t_wo(A,B,C) ->
- case {A,B,C} of
- {a,b,c} ->
- some:other_method()
- end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement