LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File 0384-Document-how-utf8-atoms-are-ordered.patch of Package erlang (Project home:Ledest:erlang:20)

From cf78f7c581ab9eb61fa404a15bbef35f79839e43 Mon Sep 17 00:00:00 2001
From: Pierre Fenoll <pierrefenoll@gmail.com>
Date: Thu, 9 Aug 2018 10:52:05 +0200
Subject: [PATCH] Document how utf8 atoms are ordered

---
 system/doc/reference_manual/expressions.xml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/system/doc/reference_manual/expressions.xml b/system/doc/reference_manual/expressions.xml
index 8bd4412762..a91c8e0178 100644
--- a/system/doc/reference_manual/expressions.xml
+++ b/system/doc/reference_manual/expressions.xml
@@ -578,8 +578,7 @@ number &lt; atom &lt; reference &lt; fun &lt; port &lt; pid &lt; tuple &lt; map
         ascending term order and then by values in key order.
         In maps key order integers types are considered less than floats types.
     </p>
-    <p>Atoms are compared using their string value, character by character.
-    </p>
+    <p>Atoms are compared using their string value, codepoint by codepoint.</p>
       <p>When comparing an integer to a float, the term with the lesser
       precision is converted into the type of the other term, unless the
       operator is one of <c>=:=</c> or <c>=/=</c>. A float is more precise than
-- 
2.16.4