LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File 0418-erts-Add-comment-about-and-nil-to-The-Abstract-Forma.patch of Package erlang (Project home:Ledest:erlang:20)

From 8856bfa8d104b700d67180c15eff98003d28e075 Mon Sep 17 00:00:00 2001
From: Hans Bolinder <hasse@erlang.org>
Date: Tue, 11 Sep 2018 10:09:30 +0200
Subject: [PATCH 2/2] erts: Add comment about [] and nil() to The Abstract
 Format

---
 erts/doc/src/absform.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/erts/doc/src/absform.xml b/erts/doc/src/absform.xml
index f29bb7b8f9..d77d989057 100644
--- a/erts/doc/src/absform.xml
+++ b/erts/doc/src/absform.xml
@@ -811,7 +811,9 @@
       </item>
       <item>
         <p>If T is the empty list type <c>[]</c>, then Rep(T) =
-          <c>{type,Line,nil,[]}</c>.</p>
+          <c>{type,Line,nil,[]}</c>, that is, the empty list type
+          <c>[]</c> cannot be distinguished from the predefined type
+          <c>nil()</c>.</p>
       </item>
       <item>
         <p>If T is a fun type <c>fun()</c>, then Rep(T) =
-- 
2.16.4