diff options
author | Sverker Eriksson <[email protected]> | 2018-01-29 16:03:37 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2018-01-29 16:03:37 +0100 |
commit | b73e87f5de895860337c0d30473edd1e59667baa (patch) | |
tree | 3a59ef3292e21dbf5bbb4b14b049bcbd305c8f69 /lib/stdlib/doc/src | |
parent | e584c594c167020b5db2b6c9813a6bd2a14d3589 (diff) | |
parent | 184db040e4fca5eacd7150098d77c4d5829d6c52 (diff) | |
download | otp-b73e87f5de895860337c0d30473edd1e59667baa.tar.gz otp-b73e87f5de895860337c0d30473edd1e59667baa.tar.bz2 otp-b73e87f5de895860337c0d30473edd1e59667baa.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/stdlib/doc/src')
-rw-r--r-- | lib/stdlib/doc/src/ets.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/stdlib/doc/src/ets.xml b/lib/stdlib/doc/src/ets.xml index a0ec22c515..1b31a1ec9d 100644 --- a/lib/stdlib/doc/src/ets.xml +++ b/lib/stdlib/doc/src/ets.xml @@ -963,11 +963,11 @@ ets:is_compiled_ms(Broken).</code> <func> <name name="match_spec_run" arity="2"/> <fsummary>Perform matching, using a compiled match specification on a - list of tuples.</fsummary> + list of terms.</fsummary> <desc> <p>Executes the matching specified in a compiled <seealso marker="#match_spec">match specification</seealso> on a list - of tuples. Term <c><anno>CompiledMatchSpec</anno></c> is to be + of terms. Term <c><anno>CompiledMatchSpec</anno></c> is to be the result of a call to <seealso marker="#match_spec_compile/1"> <c>match_spec_compile/1</c></seealso> and is hence the internal representation of the match specification one wants to use.</p> @@ -985,7 +985,7 @@ Table = ets:new... MatchSpec = ... % The following call... ets:match_spec_run(ets:tab2list(Table), -ets:match_spec_compile(MatchSpec)), + ets:match_spec_compile(MatchSpec)), % ...gives the same result as the more common (and more efficient) ets:select(Table, MatchSpec),</code> <note> |