@@ -106,7 +106,7 @@ loadModule :: FilePath -> IO (Either String [P.Module])
106106loadModule moduleFile = do
107107 print moduleFile
108108 moduleText <- U.readFile moduleFile
109− return . either (Left . show) Right $ P.runIndentParser P.parseModules moduleText
109+ return . either (Left . show) Right $ P.runIndentParser "" P.parseModules moduleText
110110
111111main :: IO ()
112112main = do
@@ -128,7 +128,7 @@ main = do
128128 case cmd of
129129 Empty -> go imports loadedModules
130130 Expression ls -> do
131− case P.runIndentParser (P.whiteSpace *> P.parseValue <* Parsec.eof) (unlines ls) of
131+ case P.runIndentParser "" (P.whiteSpace *> P.parseValue <* Parsec.eof) (unlines ls) of
132132 Left err -> outputStrLn (show err)
133133 Right decl -> handleDeclaration loadedModules imports decl
134134 go imports loadedModules