aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2013-09-12 12:51:48 +0200
committerHans Bolinder <[email protected]>2013-09-12 12:51:48 +0200
commit0a4a3fb72661a2ccf146d672a81013cef424b2c0 (patch)
treee708e75dbf602e7a9e9b7016a3f0a8d930b41c1b
parent7c89f041485d8d3cc321df13fe6350f3f77ede91 (diff)
downloadotp-0a4a3fb72661a2ccf146d672a81013cef424b2c0.tar.gz
otp-0a4a3fb72661a2ccf146d672a81013cef424b2c0.tar.bz2
otp-0a4a3fb72661a2ccf146d672a81013cef424b2c0.zip
Correct documentation of predefined types
The documentation of predefined types has been corrected Thanks to Kostis Sagonas.
-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,