imports
This commit is contained in:
@@ -342,8 +342,6 @@ parseMod : Parser Module
|
||||
parseMod = do
|
||||
keyword "module"
|
||||
name <- uident
|
||||
-- probably should be manySame, and we want to start with col -1
|
||||
-- if we enforce blocks indent more than parent
|
||||
decls <- startBlock $ manySame $ parseDecl
|
||||
pure $ MkModule name decls
|
||||
|
||||
|
||||
@@ -107,7 +107,7 @@ processDecl (DCheck fc tm ty) = do
|
||||
putStrLn "norm \{pprint [] norm}"
|
||||
putStrLn "NF "
|
||||
|
||||
processDecl (DImport fc str) = throwError $ E fc "import not implemented"
|
||||
processDecl (DImport fc str) = pure ()
|
||||
|
||||
processDecl (Data fc nm ty cons) = do
|
||||
ctx <- get
|
||||
|
||||
Reference in New Issue
Block a user