Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:18
erlang
0264-Document-how-atoms-are-ordered.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0264-Document-how-atoms-are-ordered.patch of Package erlang
From 70b5549473edfedba6c2af70e6b8e446f7c4e92b Mon Sep 17 00:00:00 2001 From: Pierre Fenoll <pierrefenoll@gmail.com> Date: Tue, 7 Aug 2018 14:48:41 +0200 Subject: [PATCH] Document how atoms are ordered --- system/doc/reference_manual/expressions.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system/doc/reference_manual/expressions.xml b/system/doc/reference_manual/expressions.xml index 94e40dd077..7eaa575f80 100644 --- a/system/doc/reference_manual/expressions.xml +++ b/system/doc/reference_manual/expressions.xml @@ -573,6 +573,8 @@ number < atom < reference < fun < port < pid < tuple < map <p>Maps are ordered by size, two maps with the same size are compared by keys in 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>When comparing an integer to a float, the term with the lesser precision is converted into the type of the other term, unless the -- 2.16.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor