Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:25
erlang
2143-Fix-comprehension-examples.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 2143-Fix-comprehension-examples.patch of Package erlang
From 4d0b788bba87c200bb4745c73603a42f7dd52057 Mon Sep 17 00:00:00 2001 From: David Ansari <david.ansari@gmx.de> Date: Sun, 29 Oct 2023 11:04:59 +0100 Subject: [PATCH] Fix comprehension examples --- system/doc/reference_manual/expressions.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/doc/reference_manual/expressions.xml b/system/doc/reference_manual/expressions.xml index 6b3ba96b6b..b1141dcbf1 100644 --- a/system/doc/reference_manual/expressions.xml +++ b/system/doc/reference_manual/expressions.xml @@ -2081,7 +2081,7 @@ KeyPattern := ValuePattern <- MapExpression</pre> <p>Multiplying each byte in a binary by two, returning a list:</p> <pre> -1> <input>[X*2 || <<X>> <= <<1,2,3>> >>.</input> +1> <input>[X*2 || <<X>> <= <<1,2,3>>].</input> [2,4,6]</pre> <p>Multiplying each byte in a binary by two:</p> @@ -2093,7 +2093,7 @@ KeyPattern := ValuePattern <- MapExpression</pre> <p>Multiplying each element in a list by two, returning a binary:</p> <pre> -1> <input><< <<(X*2)>> || X <- [1,2,3]].</input> +1> <input><< <<(X*2)>> || X <- [1,2,3] >>.</input> <<2,4,6>></pre> <p>Creating a mapping from an integer to its square:</p> -- 2.35.3
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