aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Sato <shinnya.sato@gmail.com>2021-12-21 11:05:33 +0900
committerShinya Sato <shinnya.sato@gmail.com>2021-12-21 11:05:33 +0900
commit877a3f57d4f88b4c48458ddffeb2dc2eb748e579 (patch)
tree16578ebd808a52006e885175e90b3b9d75a02b18
parent4429bfe572fbbedb70a417cea800c67bd0c33fbc (diff)
parentbaae2edd556836fdcc8f2b95941e693b99598249 (diff)
downloadinpla-877a3f57d4f88b4c48458ddffeb2dc2eb748e579.tar.gz
inpla-877a3f57d4f88b4c48458ddffeb2dc2eb748e579.zip
Merge branch 'develop'
-rw-r--r--README.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/README.md b/README.md
index 39f481b..757d1d0 100644
--- a/README.md
+++ b/README.md
@@ -653,12 +653,11 @@ In interaction rules, attributes are recognised by a modifier `int` in order to
- Example: Duplicator of integer lists.
-
- We note that, at the first line of the below example, the rule is allowed to have not twice occurrences of *i* (here, it is three times) because the *i* is a variable for attributes:
![dup_list](pic/dup_list.png)
-
+ We note that, in the first line from the top of the following execution example, there is a rule allowed to have not twice occurrences of *i* (here, it is three times, that is, once in left-hand side, and twice in the right-hand side). This is because the *i* is a variable for attributes.
+
```
>>> dup(a1,a2) >< (int i):xs => a1~(i:xs1), a2~(i:xs2), dup(xs1,xs2)~xs;
>>> dup(a1,a2) >< [] => a1~[], a2~[];