for/3 is an Erlang function exported by "age_lists" module. Calls Fun(Term, Item) for each element Item in List. The function returns list of results from the Fun calls. You can apply an Erlang term for each Item in the list and Fun(Term, Item) could return any value, or: •break - will cause exit from the loop immediately. •continue - will skip the iteration and move to the next one. |
|
|