diff options
author | Anthony Ramine <[email protected]> | 2013-04-30 10:10:03 +0200 |
---|---|---|
committer | Anthony Ramine <[email protected]> | 2013-04-30 12:46:41 +0200 |
commit | 3ac04f901ecfb3fed128759964ccc54fa4ee7b2a (patch) | |
tree | 12e44041b8e9c15c8ab888081a4d7f336ecd7daa /lib/et/doc/src | |
parent | 7e9ae3007fd3c44a05a746628983faff401dfd0c (diff) | |
download | otp-3ac04f901ecfb3fed128759964ccc54fa4ee7b2a.tar.gz otp-3ac04f901ecfb3fed128759964ccc54fa4ee7b2a.tar.bz2 otp-3ac04f901ecfb3fed128759964ccc54fa4ee7b2a.zip |
Rename and document lists:zf/2 as lists:filtermap/2
This function is used all over the place in OTP itself and people
sometimes want that functionality, they may as well not reimplement it
themselves.
Diffstat (limited to 'lib/et/doc/src')
-rw-r--r-- | lib/et/doc/src/et_desc.xmlsrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/et/doc/src/et_desc.xmlsrc b/lib/et/doc/src/et_desc.xmlsrc index c02517ae01..36274f6316 100644 --- a/lib/et/doc/src/et_desc.xmlsrc +++ b/lib/et/doc/src/et_desc.xmlsrc @@ -150,7 +150,7 @@ NewEvent = #event{}]]></code> <p>The interface of the filter function is the same as the the - filter functions for the good old <c>lists:zf/2</c>. If the filter + filter functions for the good old <c>lists:filtermap/2</c>. If the filter returns <c>false</c> it means that the trace data should silently be dropped. <c>true</c> means that the trace data data already is an <c>Event Record</c> and that it should be kept as it is. |