From c280eb343939f7b5f3dc6a4c3a349466e78bcfc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Thu, 9 Aug 2018 14:26:58 +0200 Subject: Fix violation of documentation rules In the documentation, we don't use contractations such as "don't" or "that's". We also avoid abbreviations. "i.e." should be written out as "that is". In this case it is better to omit it altogether. 629ad2e0971ef introduced the violation. --- system/doc/reference_manual/expressions.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'system/doc/reference_manual/expressions.xml') diff --git a/system/doc/reference_manual/expressions.xml b/system/doc/reference_manual/expressions.xml index 684a1191d0..f6daf50c8b 100644 --- a/system/doc/reference_manual/expressions.xml +++ b/system/doc/reference_manual/expressions.xml @@ -568,8 +568,8 @@ Expr1 op Expr2
 number < atom < reference < fun < port < pid < tuple < map < nil < list < bit string

nil in the previous expression represents the empty list - (i.e. []), which is regarded as a separate type from - list/0. That's why nil < list. + ([]), which is regarded as a separate type from + list/0. That is why nil < list.

Lists are compared element by element. Tuples are ordered by size, two tuples with the same size are compared element by -- cgit v1.2.3