@@ -162,7 +162,7 @@ process fn (Eval t)
162162 showImp imp (delab ist ty'))
163163process fn (ExecVal t)
164164 = 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"]))
166166-- [pexp t])
167167 (tmpn, tmph) <- liftIO tempfile
168168 liftIO $ hClose tmph
@@ -307,7 +307,7 @@ process fn TTShell = do ist <- get
307307process fn Execute = do (m, _) <- elabVal toplevel False
308308 (PApp fc
309309 (PRef fc (UN "run__IO"))
310− [pexp $ PRef fc (NS (UN "main") ["main"])])
310+ [pexp $ PRef fc (NS (UN "main") ["Main"])])
311311-- (PRef (FC "main" 0) (NS (UN "main") ["main"]))
312312 (tmpn, tmph) <- liftIO tempfile
313313 liftIO $ hClose tmph
@@ -318,13 +318,13 @@ process fn Execute = do (m, _) <- elabVal toplevel False
318318process fn (NewCompile f)
319319 = do (m, _) <- elabVal toplevel False
320320 (PApp fc (PRef fc (UN "run__IO"))
321− [pexp $ PRef fc (NS (UN "main") ["main"])])
321+ [pexp $ PRef fc (NS (UN "main") ["Main"])])
322322 compileEpic f m
323323 where fc = FC "main" 0
324324process fn (Compile target f)
325325 = do (m, _) <- elabVal toplevel False
326326 (PApp fc (PRef fc (UN "run__IO"))
327− [pexp $ PRef fc (NS (UN "main") ["main"])])
327+ [pexp $ PRef fc (NS (UN "main") ["Main"])])
328328 compile target f m
329329 where fc = FC "main" 0
330330process fn (LogLvl i) = setLogLevel i
@@ -485,7 +485,7 @@ idrisMain opts =
485485 addPkgDir "base"
486486 mapM_ addPkgDir pkgdirs
487487 elabPrims
488− when (not (NoPrelude `elem` opts)) $ do x <- loadModule "prelude"
488+ when (not (NoPrelude `elem` opts)) $ do x <- loadModule "Prelude"
489489 return ()
490490 when runrepl $ iputStrLn banner
491491 ist <- get