com php-langspec: Fixed the leftwards diagram arrows from < to <.: spec/04-basic-concepts.md
| From: | Christoph Michael Becker | Date: | Sun, 15 Mar 2020 11:22:54 +0000 |
| Subject: | com php-langspec: Fixed the leftwards diagram arrows from < to <.: spec/04-basic-concepts.md | ||
| Groups: | php.standards.cvs | ||
| Request: | Send a blank email to standards--cvs+get-442@lists.php.net to get a copy of this message | ||
Commit: 694b0290a6ec0722820d2db848cc510104623e5d
Author: Rodion Efremov <coderodd3@gmail.com> Sat, 15 Jun 2019 15:16:14 +0300
Committer: Christoph M. Becker <cmbecker69@gmx.de> Sun, 15 Mar 2020 12:22:54 +0100
Parents: ab19cb01fd935c7d40a7250b551156cf273b61d5
Branches: master
Link: http://git.php.net/?p=php-langspec.git;a=commitdiff;h=694b0290a6ec0722820d2db848cc510104623e5d
Log:
Fixed the leftwards diagram arrows from < to <.
Some arrow diagrams are rendered as
<-- instead of <--.
Changed paths:
M spec/04-basic-concepts.md
Diff:
diff --git a/spec/04-basic-concepts.md b/spec/04-basic-concepts.md
index bdb84eb..bfc81b6 100644
--- a/spec/04-basic-concepts.md
+++ b/spec/04-basic-concepts.md
@@ -516,12 +516,12 @@ We can remove all these handles using $a = NULL and $b =
NULL:
```
[VSlot $a *]-->[VStore null] [HStore Point [VSlot $x *] [VSlot $y *] (dead)]
| |
-[VSlot $b *]-->[VStore null] [VStore int 2 (dead)]<--+ V
+[VSlot $b *]-->[VStore null] [VStore int 2 (dead)]<--+ V
[VStore int 1 (dead)]
[HStore Point [VSlot $x *] [VSlot $y *] (dead)]
| |
- [VStore int 4 (dead)]<--+ V
+ [VStore int 4 (dead)]<--+ V
[VStore int 6 (dead)]
```
@@ -750,7 +750,7 @@ assignment of other types. Recall the Point class from [the
examples](#value-a
V V
[VStore int 10] [VStore Obj *]
|
- [HStore Point [VSlot $x *] [VSlot $y *]]<----+
+ [HStore Point [VSlot $x *] [VSlot $y *]]<----+
| |
V V
[VStore int 1] [VStore int 3]
@@ -782,7 +782,7 @@ the value assignment $b = $a:
| | |
+---------+ +---------+ |
V V |
-[VStore int 10] [VStore object *]-->[HStore Point [VSlot $x *] [VSlot $y *]]<---+
+[VStore int 10] [VStore object *]-->[HStore Point [VSlot $x *] [VSlot $y *]]<---+
| |
V V
[VStore int 1] [VStore int 3]
@@ -830,7 +830,7 @@ implementation. Here is the first possible outcome:
```
[VSlot $a *]---->[VStore array *]---->[HStore Array [VSlot 0 *]]
|
-[VSlot $x *]-------------------------+ [VStore array *]<---+
+[VSlot $x *]-------------------------+ [VStore array *]<---+
| |
[VSlot $b *]-->[VStore array *] | V
| | [HStore Array [VSlot 0 *][VSlot 1 *]]
@@ -852,7 +852,7 @@ Here is the second possible outcome:
```
[VSlot $a *]---->[VStore array *]---->[HStore Array [VSlot 0 *]]
|
-[VSlot $x *]-------------------------+ [VStore array *]<----+
+[VSlot $x *]-------------------------+ [VStore array *]<----+
| |
[VSlot $b *]-->[VStore array *] | V
| | [HStore Array [VSlot 0 *] [VSlot 1 *]]
@@ -939,7 +939,7 @@ $b = $a;
```
[VSlot $a *]--->[VStore array *]--->[HStore Array [VSlot 0 *]]
^ |
- | [VStore array *]<--+
+ | [VStore array *]<--+
[VSlot $b *]--->[VStore Arr-D *]------+ |
V
[HStore Array [VSlot 0 *] [VSlot 1 *]]
@@ -1036,7 +1036,7 @@ possible outcome:
```
[VSlot $a *]---->[VStore array *]---->[HStore Array [VSlot 0 *]]
|
-[VSlot $b *]-->[VStore array *] [VStore array *]<---+
+[VSlot $b *]-->[VStore array *] [VStore array *]<---+
| |
V V
[HStore Array [VSlot 0 *] [VSlot 1 *]] [HStore Array [VSlot 0 *] [VSlot 1 *]]
@@ -1057,8 +1057,8 @@ Here is the third possible outcome:
```
[VSlot $a *]---->[VStore array *-]---->[HStore Array [VSlot 0 *]]
- |
-[VSlot $b *]-->[VStore array *] [VStore array *]<---+
+ |
+[VSlot $b *]-->[VStore array *] [VStore array *]<---+
| |
V V
[HStore Array [VSlot 0 *] [VSlot 1 *]] [HStore Array [VSlot 0 *] [VSlot 1 *]]
@@ -1204,7 +1204,7 @@ Will result in:
| | |
V V |
[VStore int 1] [VStore int 3] |
-[VSlot $b *]---------------->[VStore int 123]<---------------------------------------+
+[VSlot $b *]---------------->[VStore int 123]<---------------------------------------+
```
### Argument Passing
@@ -1267,7 +1267,7 @@ some type(s) or to an instance of some other type.
V V
[VStore int 10] [VStore object *]
|
- [HStore ...]<---------+
+ [HStore ...]<---------+
```
Let us consider the result of $b = clone $a:
@@ -1279,7 +1279,7 @@ Let us consider the result of $b = clone $a:
| [VStore int 10] [VStore object *]
+-----------------------+ |
V |
- [HStore Widget [VSlot $p1 *] [VSlot $p2 *]] +--->[HStore ...]<-+
+ [HStore Widget [VSlot $p1 *] [VSlot $p2 *]] +--->[HStore ...]<-+
| | |
V V |
[VStore int 10] [VStore object *]----------+