[erlang-questions] scan rows from a database

info <>
Thu Jun 17 19:27:57 CEST 2010


In case of errors in "the_function", how to exit ?

On Thu, Jun 17, 2010 at 7:13 PM, info  < > wrote:
> As newbie, could you describe what you wrote ...
> I thought something like that:
>
> lists:map(fun(R)- >the_function end, Rows)
>
> Is it equivalent ?

Yes, see the part on list comprehensions in the manual.


-- 
J.

________________________________________________________________
erlang-questions (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:


More information about the erlang-questions mailing list