git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Hold off on handling values.
commit1d09852fc83275f3299e58b14dc6da6334ee6a2a authorjoneshf <jones3.hardy@gmail.com> dateMon 17 Feb 2014, 09:35 (13 years ago) parente46f78d
1 file changed+1−2
psci/Main.hs+1−2
psci/Main.hs+1−2
@@ -66,9 +66,8 @@ createTemporaryModule imports value =
6666 importDecl m = P.ImportDeclaration m Nothing
6767 traceModule = P.ModuleName (P.ProperName "Trace")
6868 trace = P.Var (P.Qualified (Just traceModule) (P.Ident "print"))
69− returnedValue = P.App (P.Var (P.Qualified Nothing (P.Ident "return"))) value
7069 mainDecl = P.ValueDeclaration (P.Ident "main") [] Nothing
71− (P.Do [ P.DoNotationBind (P.VarBinder (P.Ident "it")) returnedValue
70+ (P.Do [ P.DoNotationBind (P.VarBinder (P.Ident "it")) value
7271 , P.DoNotationValue (P.App trace (P.Var (P.Qualified Nothing (P.Ident "it"))) )
7372 ])
7473 in