git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Use Console module in PSCi
commitbce638c5821102afdf57707c433114680ac3ed16 authorPhil Freeman <paf31@cantab.net> dateMon 20 Apr 2015, 11:17 (12 years ago) parentfa59cf1
1 file changed+2−2
psci/PSCi.hs+2−2
psci/PSCi.hs+2−2
@@ -214,8 +214,8 @@ createTemporaryModule :: Bool -> PSCiState -> P.Expr -> P.Module
214214createTemporaryModule exec PSCiState{psciImportedModules = imports, psciLetBindings = lets} val =
215215 let
216216 moduleName = P.ModuleName [P.ProperName "$PSCI"]
217− traceModule = P.ModuleName [P.ProperName "Debug", P.ProperName "Trace"]
218− trace = P.Var (P.Qualified (Just traceModule) (P.Ident "print"))
217+ consoleModule = P.ModuleName [P.ProperName "Console"]
218+ trace = P.Var (P.Qualified (Just consoleModule) (P.Ident "print"))
219219 mainValue = P.App trace (P.Var (P.Qualified Nothing (P.Ident "it")))
220220 itDecl = P.ValueDeclaration (P.Ident "it") P.Value [] $ Right val
221221 mainDecl = P.ValueDeclaration (P.Ident "main") P.Value [] $ Right mainValue