This commit is contained in:
2024-08-22 14:11:43 -07:00
parent f6e47c8d22
commit dfa6b835b0
3 changed files with 14 additions and 14 deletions

View File

@@ -27,9 +27,6 @@ data Pattern
public export
data RCaseAlt = MkAlt Raw Raw
-- FC = MkPair Int Int
data Raw : Type where
RVar : FC -> (nm : Name) -> Raw
RLam : FC -> (nm : String) -> (icit : Icit) -> (ty : Raw) -> Raw
@@ -67,11 +64,6 @@ getFC (RParseError fc str) = fc
public export
data Decl : Type where
Telescope: Type
Telescope = List Decl -- pi-forall, always typeSig?
data ConstrDef = MkCDef Name Telescope
data Decl
= TypeSig FC Name Raw
| Def FC Name Raw
@@ -102,11 +94,6 @@ implementation Show Raw
export
implementation Show Decl
covering
Show ConstrDef where
show (MkCDef str xs) = foo ["MkCDef", show str, show xs]
covering
Show Decl where
show (TypeSig _ str x) = foo ["TypeSig", show str, show x]