From 42eddf467f01e38502310a0f34770ed73ff74319 Mon Sep 17 00:00:00 2001 From: Hans Bolinder Date: Tue, 13 Oct 2015 14:02:55 +0200 Subject: [hipe] Correct documentation Fix mistakes found by 'xmllint'. --- lib/hipe/doc/src/hipe_app.xml | 17 ++++++++--------- lib/hipe/doc/src/notes.xml | 32 ++++++++++++++++++-------------- 2 files changed, 26 insertions(+), 23 deletions(-) (limited to 'lib') diff --git a/lib/hipe/doc/src/hipe_app.xml b/lib/hipe/doc/src/hipe_app.xml index 98fec900af..bf4bdbb3b3 100644 --- a/lib/hipe/doc/src/hipe_app.xml +++ b/lib/hipe/doc/src/hipe_app.xml @@ -37,15 +37,14 @@

The normal way to native-compile an Erlang module using HiPE is to include the atom native - in the Erlang compiler options, as in: - - 1> c(my_module, [native]). - Options to the HiPE compiler are then passed as follows: - - 1> c(my_module, [native,{hipe,Options}]). - For on-line help in the Erlang shell, call hipe:help(). - Details on HiPE compiler options are given by hipe:help_options(). -

+ in the Erlang compiler options, as in:

+
+      1> c(my_module, [native]).
+

Options to the HiPE compiler are then passed as follows:

+
+      1> c(my_module, [native,{hipe,Options}]).
+

For on-line help in the Erlang shell, call hipe:help(). + Details on HiPE compiler options are given by hipe:help_options().

SEE ALSO diff --git a/lib/hipe/doc/src/notes.xml b/lib/hipe/doc/src/notes.xml index a463b421a8..e1aec698e4 100644 --- a/lib/hipe/doc/src/notes.xml +++ b/lib/hipe/doc/src/notes.xml @@ -319,22 +319,28 @@

EEP43: New data type - Maps

- With Maps you may for instance: M0 = - #{ a => 1, b => 2}, % create - associations M1 = M0#{ a := 10 }, % - update values M2 = M1#{ "hi" => - "hello"}, % add new associations #{ - "hi" := V1, a := V2, b := V3} = M2. % match keys with - values

+ With Maps you may for instance:

+ + M0 = #{ a => 1, b => 2}, % create + associations + M1 = M0#{ a := 10 }, % update values + M2 = M1#{ "hi" => + "hello"}, % add new associations + #{ "hi" := V1, a := V2, b := V3} = M2. + % match keys with values +

For information on how to use Maps please see Map Expressions in the Reference Manual.

The current implementation is without the following - features: No variable keys - No single value access No map - comprehensions

+ features:

+ + No variable keys + No single value access + No map comprehensions +

Note that Maps is experimental during OTP 17.0.

@@ -602,19 +608,17 @@

Fixed Bugs and Malfunctions -

No warnings for underspecs with remote types

Fix crash in Typer

Fix Dialyzer's warning for its own code

Fix Dialyzer's warnings in HiPE

Add file/line info in a particular Dialyzer crash

Update - inets test results

+ inets test results

Own Id: OTP-9758

-

Correct callback spec in application module

Refine warning about callback specs with extra ranges

Cleanup @@ -625,7 +629,7 @@ analysis

Fix crash in Dialyzer

Variable substitution was not generalizing any unknown variables.

-

+

Own Id: OTP-9776

-- cgit v1.2.3