diff options
| author | Shinya Sato <shinnya.sato@gmail.com> | 2023-01-02 22:13:46 +0900 |
|---|---|---|
| committer | Shinya Sato <shinnya.sato@gmail.com> | 2023-01-02 22:13:46 +0900 |
| commit | 3c6441574833410bc085d5153f569e27019489e9 (patch) | |
| tree | 8debe0775c3b73d1d0bb4e93ae8e5bc795c9c3c7 | |
| parent | c7da64a2917be181219d64725bc1060ce47ce0ed (diff) | |
| parent | 747e4413770ee08d503ab11774eac73d29df300a (diff) | |
| download | inpla-3c6441574833410bc085d5153f569e27019489e9.tar.gz inpla-3c6441574833410bc085d5153f569e27019489e9.zip | |
Merge branch 'develop'
| -rw-r--r-- | Changelog.md | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/Changelog.md b/Changelog.md index 19e062c..e8b76a8 100644 --- a/Changelog.md +++ b/Changelog.md @@ -11,20 +11,30 @@ >>> ``` - So, even if we write the following rule having `r~(r1+r2) `, the system will not abort suddenly, although the compilation crushes: + So, even if we write the following rule having `r~(r1+r2) `, the system will not abort suddenly due to a compilation failure: ``` >>> fib(r) >< (int n) - ... | n == 0 => ret~0 - ... | n == 1 => ret~1 + ... | n == 0 => r~0 + ... | n == 1 => r~1 ... | _ => r~(r1+r2), fib(r1)~(n-1), fib(r2)~(n-2); ERROR: `r1' is referred to as a property variable in an expression, although it has not yet been declared (as so). ERROR: Compilation failure for fib >< Int. >>> ``` + Of course, the following is successfully compiled as well: -- **New sample programs**: Two programs of *higher-order operations* are joined in sample programs: + ``` + >>> fib(r) >< (int n) + ... | n == 0 => r~0 + ... | n == 1 => r~1 + ... | _ => Add(r,r2)~r1, fib(r1)~(n-1), fib(r2)~(n-2); + >>> + ``` + + +- **New sample programs**: Two programs of *higher-order operations* are joined in sample programs: - `map.in`: It explains how map operation can be performed with built-in and not built-in agent and `%` notation. - `reduce.in`: Here, Foldr and Foldl are realised. |
