diff options
author | Hans Bolinder <[email protected]> | 2015-11-18 08:34:59 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2015-11-18 08:34:59 +0100 |
commit | 2e3a11d68f2b57a5fe09eb73a20407508a9567d0 (patch) | |
tree | 4afa097de7df4d43979cb509e7d03ed381df2c13 /lib/compiler | |
parent | fa2438389769a65dbd12caea0d7ab6510bbe0e42 (diff) | |
parent | ea4114d5d4156bae207788e5be7d0157e32adfe9 (diff) | |
download | otp-2e3a11d68f2b57a5fe09eb73a20407508a9567d0.tar.gz otp-2e3a11d68f2b57a5fe09eb73a20407508a9567d0.tar.bz2 otp-2e3a11d68f2b57a5fe09eb73a20407508a9567d0.zip |
Merge branch 'maint'
* maint:
[crypto] Correct documentation
[compiler] Correct documentation
[ssh] Correct documentation
[snmp] Correct documentation
[eunit] Correct documentation
Diffstat (limited to 'lib/compiler')
-rw-r--r-- | lib/compiler/doc/src/notes.xml | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/lib/compiler/doc/src/notes.xml b/lib/compiler/doc/src/notes.xml index bd85f22462..daf3bd3af9 100644 --- a/lib/compiler/doc/src/notes.xml +++ b/lib/compiler/doc/src/notes.xml @@ -458,22 +458,28 @@ <p> EEP43: New data type - Maps</p> <p> - With Maps you may for instance: <taglist> <item><c>M0 = - #{ a => 1, b => 2}, % create - associations</c></item> <item><c>M1 = M0#{ a := 10 }, % - update values</c></item> <item><c>M2 = M1#{ "hi" => - "hello"}, % add new associations</c></item> <item><c>#{ - "hi" := V1, a := V2, b := V3} = M2. % match keys with - values</c></item> </taglist></p> + With Maps you may for instance:</p> + <taglist> + <tag/> <item><c>M0 = #{ a => 1, b => 2}, % create + associations</c></item> + <tag/><item><c>M1 = M0#{ a := 10 }, % update values</c></item> + <tag/><item><c>M2 = M1#{ "hi" => + "hello"}, % add new associations</c></item> + <tag/><item><c>#{ "hi" := V1, a := V2, b := V3} = M2. + % match keys with values</c></item> + </taglist> <p> For information on how to use Maps please see Map Expressions in the <seealso marker="doc/reference_manual:expressions#map_expressions"> Reference Manual</seealso>.</p> <p> The current implementation is without the following - features: <taglist> <item>No variable keys</item> - <item>No single value access</item> <item>No map - comprehensions</item> </taglist></p> + features:</p> + <taglist> + <tag/><item>No variable keys</item> + <tag/><item>No single value access</item> + <tag/><item>No map comprehensions</item> + </taglist> <p> Note that Maps is <em>experimental</em> during OTP 17.0.</p> <p> |