git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Merge pull request #257 from timmytofu/patch-1
0d1db95Phil Freeman
docs/source/intro.rst+2−2
@@ -75,7 +75,7 @@ As an introductory example, here is the usual "Hello World" written in PureScrip
75
75
76 module Main where
76 module Main where
77
77
78− import Trace
78+ import Debug.Trace
79
79
80 main = trace "Hello, World!"
80 main = trace "Hello, World!"
81
81
@@ -89,7 +89,7 @@ which compiles to the following Javascript, ignoring the Prelude::
89
89
90The following command will compile and execute the PureScript code above::
90The following command will compile and execute the PureScript code above::
91
91
92− psc input.purs --run-main | nodejs
92+ psc input.purs --main | nodejs
93
93
94Another Example
94Another Example
95---------------
95---------------