sugar for data and other improvements
- parse types in let (everything but parser was there) - add sugar for `data` - move `joinBy` to prelude - fix highlighting for char in vscode - better errors for missing imports
This commit is contained in:
@@ -92,17 +92,6 @@ public export
|
||||
HasFC BindInfo where
|
||||
getFC (BI fc _ _ _) = fc
|
||||
|
||||
-- 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
|
||||
PrimChar : Char -> PrimVal
|
||||
|
||||
public export
|
||||
data Tm : Type
|
||||
|
||||
|
||||
Reference in New Issue
Block a user