aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authortslil <tslil@posteo.de>2026-04-27 10:13:10 +0100
committertslil <tslil@posteo.de>2026-04-27 11:27:40 +0100
commita3205cfa58fb3cf16757c65345dd99d27e73a42f (patch)
treef2dab9ddbd4a48a668072d231139b71472d8b2f3 /src/main.rs
parent1b97296cb4e043ed6ba8e200bcfc36bd60e602a9 (diff)
add distinction between hypothetical and concrete elements to the set checker, it now enforces that all arms in case are well typed!
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 984a438..b0bc33c 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -34,7 +34,7 @@ let element the_nat : Nat = z .y .n
let element injected : W = z. z
-let element compute : Nat = case injected of [ z. myz => myz .y .n | f. myf => 2 ]
+let element compute : Nat = case injected of [ z. myz => myz .y .n | f. myf => myf ]
// let signature Graph = theory {
// .Node :: Set,