@@ -162,7 +162,7 @@ process fn (Eval t)
162 showImp imp (delab ist ty'))
162 showImp imp (delab ist ty'))
163process fn (ExecVal t)
163process fn (ExecVal t)
164 = do (tm, ty) <- elabVal toplevel False t
164 = do (tm, ty) <- elabVal toplevel False t
165−-- (PApp fc (PRef fc (NS (UN "print") ["prelude"]))
165+-- (PApp fc (PRef fc (NS (UN "print") ["Prelude"]))
166-- [pexp t])
166-- [pexp t])
167 (tmpn, tmph) <- liftIO tempfile
167 (tmpn, tmph) <- liftIO tempfile
168 liftIO $ hClose tmph
168 liftIO $ hClose tmph
@@ -307,7 +307,7 @@ process fn TTShell = do ist <- get
307process fn Execute = do (m, _) <- elabVal toplevel False
307process fn Execute = do (m, _) <- elabVal toplevel False
308 (PApp fc
308 (PApp fc
309 (PRef fc (UN "run__IO"))
309 (PRef fc (UN "run__IO"))
310− [pexp $ PRef fc (NS (UN "main") ["main"])])
310+ [pexp $ PRef fc (NS (UN "main") ["Main"])])
311-- (PRef (FC "main" 0) (NS (UN "main") ["main"]))
311-- (PRef (FC "main" 0) (NS (UN "main") ["main"]))
312 (tmpn, tmph) <- liftIO tempfile
312 (tmpn, tmph) <- liftIO tempfile
313 liftIO $ hClose tmph
313 liftIO $ hClose tmph
@@ -318,13 +318,13 @@ process fn Execute = do (m, _) <- elabVal toplevel False
318process fn (NewCompile f)
318process fn (NewCompile f)
319 = do (m, _) <- elabVal toplevel False
319 = do (m, _) <- elabVal toplevel False
320 (PApp fc (PRef fc (UN "run__IO"))
320 (PApp fc (PRef fc (UN "run__IO"))
321− [pexp $ PRef fc (NS (UN "main") ["main"])])
321+ [pexp $ PRef fc (NS (UN "main") ["Main"])])
322 compileEpic f m
322 compileEpic f m
323 where fc = FC "main" 0
323 where fc = FC "main" 0
324process fn (Compile target f)
324process fn (Compile target f)
325 = do (m, _) <- elabVal toplevel False
325 = do (m, _) <- elabVal toplevel False
326 (PApp fc (PRef fc (UN "run__IO"))
326 (PApp fc (PRef fc (UN "run__IO"))
327− [pexp $ PRef fc (NS (UN "main") ["main"])])
327+ [pexp $ PRef fc (NS (UN "main") ["Main"])])
328 compile target f m
328 compile target f m
329 where fc = FC "main" 0
329 where fc = FC "main" 0
330process fn (LogLvl i) = setLogLevel i
330process fn (LogLvl i) = setLogLevel i
@@ -485,7 +485,7 @@ idrisMain opts =
485 addPkgDir "base"
485 addPkgDir "base"
486 mapM_ addPkgDir pkgdirs
486 mapM_ addPkgDir pkgdirs
487 elabPrims
487 elabPrims
488− when (not (NoPrelude `elem` opts)) $ do x <- loadModule "prelude"
488+ when (not (NoPrelude `elem` opts)) $ do x <- loadModule "Prelude"
489 return ()
489 return ()
490 when runrepl $ iputStrLn banner
490 when runrepl $ iputStrLn banner
491 ist <- get
491 ist <- get