blob: a831316874ce32606fc7c0b9ba70aefc86dd977f (
plain) (
tree)
|
|
-module(bar).
-vsn(2).
-export([simple/1, complicated_sum/1]).
simple(X) ->
case lists2:assoc(simple, X) of
{ok, Val} -> Val;
false -> false
end.
complicated_sum(X) ->
lists2:multi_map(fun(A,B,C) -> A+B+C end, X).
|