aboutsummaryrefslogtreecommitdiffstats
path: root/research/experiments/044-specs/probes-027/p4b-rec-view.aup
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-10-19 02:12:51 +0100
committereunhhu <[email protected]>2026-10-19 02:12:51 +0100
commitf12346827a136536c5e8e9c6af3da842bd5cc0c3 (patch)
treedaefcb538d7d24995122e90439a7302c3738573f /research/experiments/044-specs/probes-027/p4b-rec-view.aup
parent81be688cc6fdfa52633b936a9b8793782b6f5acf (diff)
downloadpure-f12346827a136536c5e8e9c6af3da842bd5cc0c3.tar.gz
pure-f12346827a136536c5e8e9c6af3da842bd5cc0c3.zip
140 after 027: the ten probes compiled again (run.sh writing to a temporary directory: 10-13's -o /dev/null made a compiled probe say Permission denied): three compile as written, the other seven's diagnostics now mostly naming the form, so the same needs written in 027's forms (probes-027/): a byte an i64, bits on i64s, a record holding itself through a list, a recursive fn in a handler with its result type, a character by for and char, a variant in a list's item all compile; three gaps left, each a change of the core: a view calling a recursive fn or a fn with a block, a record or a variant as a state by itself, a character at a cursor; the suite table's column after 027 (2 and 4 written, 6 and 7 work, the first needs of 1, 3, 5 and 9 compiling, 8's layout as a view blocked by the first gap)
Diffstat (limited to 'research/experiments/044-specs/probes-027/p4b-rec-view.aup')
-rw-r--r--research/experiments/044-specs/probes-027/p4b-rec-view.aup2
1 files changed, 2 insertions, 0 deletions
diff --git a/research/experiments/044-specs/probes-027/p4b-rec-view.aup b/research/experiments/044-specs/probes-027/p4b-rec-view.aup
new file mode 100644
index 0000000..05dbca1
--- /dev/null
+++ b/research/experiments/044-specs/probes-027/p4b-rec-view.aup
@@ -0,0 +1,2 @@
+fn depth(n) -> number = if n == 0 { 0 } else { 1 + depth(n - 1) }
+view d = depth(3)