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

@@ -41,6 +41,17 @@ Show BD where
show Bound = "bnd"
show Defined = "def"
-- do we just admit string names for these and let the prim functions
-- sort it out?
-- I'd like Int / String to have syntax
data PrimType = StringType | IntType
data PrimVal : Type where
PrimString : String -> PrimVal
PrimInt : Int -> PrimVal
public export
data Tm : Type