casetree prep

This commit is contained in:
2024-08-29 21:59:54 -07:00
parent 4c205a0c28
commit 3cba2993e2
3 changed files with 18 additions and 5 deletions

View File

@@ -212,6 +212,16 @@ data Val : Type where
VU : FC -> Val
VLit : FC -> Literal -> Val
public export
getValFC : Val -> FC
getValFC (VVar fc _ _) = fc
getValFC (VRef fc _ _ _) = fc
getValFC (VCase fc _ _) = fc
getValFC (VMeta fc _ _) = fc
getValFC (VLam fc _ _) = fc
getValFC (VPi fc _ _ a b) = fc
getValFC (VU fc) = fc
getValFC (VLit fc _) = fc
Show Closure