aboutsummaryrefslogtreecommitdiff
path: root/Changelog.md
diff options
context:
space:
mode:
authorShinya Sato <shinnya.sato@gmail.com>2022-08-03 20:49:22 +0900
committerShinya Sato <shinnya.sato@gmail.com>2022-08-03 20:49:22 +0900
commitccd0c0480d8bd1bcc23c6cc8faa8542ce24e8624 (patch)
tree5f4989a69de9e7c1ff10ca1a4b3d32385037eb22 /Changelog.md
parent2bf56bc5c9425d5c1b4c82a0bc1e816bc747cf47 (diff)
parent3eb0673d3b1a8b8341d5d6ddad54c585940ee6f5 (diff)
downloadinpla-ccd0c0480d8bd1bcc23c6cc8faa8542ce24e8624.tar.gz
inpla-ccd0c0480d8bd1bcc23c6cc8faa8542ce24e8624.zip
Merge branch 'develop'
Diffstat (limited to 'Changelog.md')
-rw-r--r--Changelog.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/Changelog.md b/Changelog.md
index a591c2f..90458e5 100644
--- a/Changelog.md
+++ b/Changelog.md
@@ -82,9 +82,9 @@
#### New Features
* **New abbreviation**:
- An abbreviation of an agent `foo` with `%foo` will be re-written internally depending on the arity of the `foo`:
+ An abbreviation `%foo` for an agent `foo` will be re-written internally depending on the arity of the `foo`:
```
- The abbreviation form is decided according to the arity of a given agent to the %.
+ The abbreviation form is decided from the followings by the arity of a given agent to the %.
%foo1 === (r, foo1(r))
%foo2 === ((r,x), foo2(r,x))
%foo3 === ((r,x,y), foo3(r,x,y))
@@ -94,10 +94,11 @@
```
For instance, when `foo` is an agent whose arity is 5, `%foo` can make the following computation simply:
```
- %foo ~ @((result,1,2,3,4), 5) -->* foo(result,1,2,3,4)~5.
+ %foo ~ ((result,1,2,3,4), 5) === ((r,x,y,z,zz), foo5(r,x,y,z,zz)) ~ ((result,1,2,3,4), 5)
+ -->* foo(result,1,2,3,4)~5.
```
-* **Why we need those?**: Map and reduce computation can be realised easily because we can give the `%foo` to the map as a seed function operation. We suppose that an incrementor agent `inc` is defined as follows:
+* **Why do we need it?**: Map and reduce computation can be realised easily because we can give the `%foo` to the map as a seed function operation. We suppose that an incrementor agent `inc` is defined as follows:
```
inc(r)><(int i) => r~(i+1);
```