From 0a4a3fb72661a2ccf146d672a81013cef424b2c0 Mon Sep 17 00:00:00 2001 From: Hans Bolinder Date: Thu, 12 Sep 2013 12:51:48 +0200 Subject: Correct documentation of predefined types The documentation of predefined types has been corrected Thanks to Kostis Sagonas. --- system/doc/reference_manual/typespec.xml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'system/doc/reference_manual/typespec.xml') 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 @@

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.

@@ -170,10 +170,10 @@ term()any() - binary()<<_:*8>> + binary()<<_:_*8>> - bitstring()<<_:*1>> + bitstring()<<_:_*1>> boolean()'false' | 'true' @@ -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.)

The following built-in list types also exist, -- cgit v1.2.3