This commit is contained in:
2026-02-16 11:59:34 -08:00
parent 95f43e0c9b
commit 7f2fa27aa6
5 changed files with 26 additions and 23 deletions

View File

@@ -35,6 +35,11 @@ data DoStmt : U where
DoLet : (fc : FC) -> String -> Raw -> DoStmt
DoArrow : (fc : FC) -> Raw -> Raw -> List RCaseAlt -> DoStmt
instance HasFC DoStmt where
getFC (DoExpr fc _) = fc
getFC (DoArrow fc _ _ _) = fc
getFC (DoLet fc _ _) = fc
Decl : U
data Raw : U where
RVar : (fc : FC) -> (nm : Name) -> Raw