diff options
| author | Shinya Sato <shinnya.sato@gmail.com> | 2021-12-21 11:05:19 +0900 |
|---|---|---|
| committer | Shinya Sato <shinnya.sato@gmail.com> | 2021-12-21 11:05:19 +0900 |
| commit | baae2edd556836fdcc8f2b95941e693b99598249 (patch) | |
| tree | 16578ebd808a52006e885175e90b3b9d75a02b18 /README.md | |
| parent | 255ffdf8bedefaf5c247e5533d60041e615eea8f (diff) | |
| download | inpla-baae2edd556836fdcc8f2b95941e693b99598249.tar.gz inpla-baae2edd556836fdcc8f2b95941e693b99598249.zip | |
Update README.md
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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:  - + 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~[]; |
