File 0598-Add-is_map_key-2-as-a-valid-guard-BIF-in-the-ref-doc.patch of Package erlang

From ea480c9bae089cba14ac6697e339e7792e23b148 Mon Sep 17 00:00:00 2001
From: Tomas Abrahamsson <tomas.abrahamsson@gmail.com>
Date: Sat, 7 Aug 2021 17:17:00 +0200
Subject: [PATCH] Add is_map_key/2 as a valid guard BIF in the ref doc

---
 system/doc/reference_manual/expressions.xml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/system/doc/reference_manual/expressions.xml b/system/doc/reference_manual/expressions.xml
index 608d51c187..2a2b7758e1 100644
--- a/system/doc/reference_manual/expressions.xml
+++ b/system/doc/reference_manual/expressions.xml
@@ -1084,6 +1084,10 @@ handle_call(change, From, #{ state := start } = S) ->
 			  <seemfa marker="erts:erlang#is_map/1">is_map/1</seemfa>
 			   in the <c>erlang</c> module
 		  </item>
+		  <item>
+			  <seemfa marker="erts:erlang#is_map_key/2">is_map_key/2</seemfa>
+			   in the <c>erlang</c> module
+		  </item>
 		  <item>
 			  <seemfa marker="erts:erlang#map_get/2">map_get/2</seemfa>
 			   in the <c>erlang</c> module
@@ -1757,6 +1761,9 @@ end</pre>
       <row>
         <cell align="left" valign="middle"><c>hd(List)</c></cell>
       </row>
+      <row>
+        <cell align="left" valign="middle"><c>is_map_key(Key, Map)</c></cell>
+      </row>
       <row>
         <cell align="left" valign="middle"><c>length(List)</c></cell>
       </row>
-- 
2.31.1

openSUSE Build Service is sponsored by