From a3205cfa58fb3cf16757c65345dd99d27e73a42f Mon Sep 17 00:00:00 2001 From: tslil Date: Mon, 27 Apr 2026 10:13:10 +0100 Subject: add distinction between hypothetical and concrete elements to the set checker, it now enforces that all arms in case are well typed! --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.rs') 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, -- cgit v1.3.1