remove zero-argument functions / applications in generated code

This commit is contained in:
2024-09-07 11:41:16 -07:00
parent 796d93d7d9
commit 06f7ba0984
3 changed files with 7 additions and 1 deletions

View File

@@ -5,6 +5,8 @@ module Scratch
-- There are indexes below, but we're got pulling constraints out of them yet.
ptype Int
data Nat : U where
Z : Nat
S : Nat -> Nat
@@ -79,4 +81,5 @@ nand = \ x y => not (case x of
data Void : U where
foo : Int
foo = 42