mapping implemented in functions vs in structures

HP Wei hp@REDACTED
Fri Apr 25 00:36:54 CEST 2003


>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





More information about the erlang-questions mailing list