diff options
Diffstat (limited to 'lib/compiler/doc/src')
| -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> | 
