aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/src/index.tsx
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2023-08-18 20:35:21 +0200
committerLibravatar Kristóf Marussy <kristof@marussy.com>2023-08-18 20:35:21 +0200
commitecf62ce9828a1fdf45e81d9bf91655513a0e26d6 (patch)
treeb1e0e2f00f81fc795d5654df7942c9be2fd5c11b /subprojects/frontend/src/index.tsx
parentbuild: fix deprecation warning (diff)
downloadrefinery-ecf62ce9828a1fdf45e81d9bf91655513a0e26d6.tar.gz
refinery-ecf62ce9828a1fdf45e81d9bf91655513a0e26d6.tar.zst
refinery-ecf62ce9828a1fdf45e81d9bf91655513a0e26d6.zip
feat: predicate semantics
Diffstat (limited to 'subprojects/frontend/src/index.tsx')
-rw-r--r--subprojects/frontend/src/index.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/subprojects/frontend/src/index.tsx b/subprojects/frontend/src/index.tsx
index 077bae79..8cbb8fbc 100644
--- a/subprojects/frontend/src/index.tsx
+++ b/subprojects/frontend/src/index.tsx
@@ -17,7 +17,7 @@ class Person {
17} 17}
18 18
19class Post { 19class Post {
20 container Person[1] author opposite posts 20 container Person author opposite posts
21 Post replyTo 21 Post replyTo
22} 22}
23 23
@@ -26,6 +26,7 @@ error replyToNotFriend(Post x, Post y) <->
26 replyTo(x, y), 26 replyTo(x, y),
27 author(x, xAuthor), 27 author(x, xAuthor),
28 author(y, yAuthor), 28 author(y, yAuthor),
29 xAuthor != yAuthor,
29 !friend(xAuthor, yAuthor). 30 !friend(xAuthor, yAuthor).
30 31
31error replyToCycle(Post x) <-> replyTo+(x, x). 32error replyToCycle(Post x) <-> replyTo+(x, x).