Skip to content

Commit adb3d35

Browse files
authored
Merge pull request #368 from LPCIC/syntax-pred
new syntax pred A -> B.
2 parents dca10a8 + d5e2ffd commit adb3d35

19 files changed

+267
-241
lines changed

CHANGES.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Unreleased
22

3+
- Parser:
4+
- New `->`-based syntax for `pred`, analogous to the new `func` one. E.g.
5+
```
6+
func append list A, list A -> list A.
7+
pred appendR -> list A, list A, list A.
8+
```
9+
310
- Compiler:
411
- Fix `=!=>` that was adding a head cut, rather than a tail cut, in some
512
cases

0 commit comments

Comments
 (0)