aboutsummaryrefslogtreecommitdiffstats
path: root/system/doc
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2013-09-12 13:10:43 +0200
committerHans Bolinder <[email protected]>2013-09-12 13:10:43 +0200
commitb15d3c7cc568abfb2c7cf48cd76f1d8d503b2736 (patch)
treee708e75dbf602e7a9e9b7016a3f0a8d930b41c1b /system/doc
parent7c89f041485d8d3cc321df13fe6350f3f77ede91 (diff)
parent0a4a3fb72661a2ccf146d672a81013cef424b2c0 (diff)
downloadotp-b15d3c7cc568abfb2c7cf48cd76f1d8d503b2736.tar.gz
otp-b15d3c7cc568abfb2c7cf48cd76f1d8d503b2736.tar.bz2
otp-b15d3c7cc568abfb2c7cf48cd76f1d8d503b2736.zip
Merge branch 'hb/erts/refman_corrections/OTP-11321' into maint
* hb/erts/refman_corrections/OTP-11321: Correct documentation of predefined types
Diffstat (limited to 'system/doc')
-rw-r--r--system/doc/reference_manual/typespec.xml8
1 files changed, 3 insertions, 5 deletions
diff --git a/system/doc/reference_manual/typespec.xml b/system/doc/reference_manual/typespec.xml
index 97ab344f7d..a3b45e4dca 100644
--- a/system/doc/reference_manual/typespec.xml
+++ b/system/doc/reference_manual/typespec.xml
@@ -160,7 +160,7 @@
<p>
For convenience, the following types are also built-in.
They can be thought as predefined aliases for the type unions also shown in
- the table. (Some type unions below slightly abuse the syntax of types.)
+ the table.
</p>
<table>
<row>
@@ -170,10 +170,10 @@
<cell><c>term()</c></cell><cell><c>any()</c></cell>
</row>
<row>
- <cell><c>binary()</c></cell><cell><c>&lt;&lt;_:*8&gt;&gt;</c></cell>
+ <cell><c>binary()</c></cell><cell><c>&lt;&lt;_:_*8&gt;&gt;</c></cell>
</row>
<row>
- <cell><c>bitstring()</c></cell><cell><c>&lt;&lt;_:*1&gt;&gt;</c></cell>
+ <cell><c>bitstring()</c></cell><cell><c>&lt;&lt;_:_*1&gt;&gt;</c></cell>
</row>
<row>
<cell><c>boolean()</c></cell><cell><c>'false' | 'true'</c></cell>
@@ -251,8 +251,6 @@
Users are not allowed to define types with the same names as the
predefined or built-in ones. This is checked by the compiler and
its violation results in a compilation error.
- (For bootstrapping purposes, it can also result to just a warning
- if this involves a built-in type which has just been introduced.)
</p>
<note>
The following built-in list types also exist,