How to use ets with a foreach way?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to use ets with a foreach way?

饕餮
Like [A+1|A<-List]
How to use ets like this in efficient way?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130528/0d6cca00/attachment.html>

Reply | Threaded
Open this post in threaded view
|

How to use ets with a foreach way?

Vance Shipley-2
On Tue, May 28, 2013 at 10:27:03AM +0800, ?? wrote:
}  Like [A+1|A<-List]
}  How to use ets like this in efficient way?

        ets:foldl/3 http://www.erlang.org/doc/man/ets.html#foldl-3

--
        -Vance