aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAndras Horvath <[email protected]>2015-04-07 13:23:10 +0100
committerZandra Hird <[email protected]>2015-05-08 14:05:05 +0200
commit9b2988b5409dbd629ce57bf89fa1c3bad69b2a42 (patch)
treec37eff2e2911da9f368a9e3331cebb04fca3fecf /lib
parent71b16c9b704374ea78de05943883befd49846a22 (diff)
downloadotp-9b2988b5409dbd629ce57bf89fa1c3bad69b2a42.tar.gz
otp-9b2988b5409dbd629ce57bf89fa1c3bad69b2a42.tar.bz2
otp-9b2988b5409dbd629ce57bf89fa1c3bad69b2a42.zip
Delete superfluous comma from `filtermap' example
The code explaining the behaviour of `filtermap/2` had a syntax error and wouldn't compile
Diffstat (limited to 'lib')
-rw-r--r--lib/stdlib/doc/src/lists.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/doc/src/lists.xml b/lib/stdlib/doc/src/lists.xml
index ee3c51c62c..dcc08d008b 100644
--- a/lib/stdlib/doc/src/lists.xml
+++ b/lib/stdlib/doc/src/lists.xml
@@ -176,7 +176,7 @@ filtermap(Fun, List1) ->
false -> Acc;
true -> [Elem|Acc];
{true,Value} -> [Value|Acc]
- end,
+ end
end, [], List1).</code>
<p>Example:</p>
<pre>