logo       

Re: mapping implemented in functions vs in structures: msg#00364

lang.erlang.general

Subject: Re: mapping implemented in functions vs in structures


>But why not:
>
>map_el(m1, m2, x1) -> y1;
>map_el(m1, m2, x2) -> y2;
>...
> or
>
>map_el({m1, m2}, x1) -> y1;
>map_el({m1, m2}, x2) -> y2;

Oh, yeah!!! This is much SIMPLER and clear.

Thanks a lot.
--hp





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise