Skip to content

Commit dd006a9

Browse files
authored
Merge pull request #11 from nwolverson/exception
err renamed to exception
2 parents f5cd7bd + e98c6ec commit dd006a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Node/Process.purs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ execPath = mkEff \_ -> process.execPath
9494

9595
-- | Change the current working directory of the process. If the current
9696
-- | directory could not be changed, an exception will be thrown.
97-
foreign import chdir :: forall eff. String -> Eff (err :: EXCEPTION, process :: PROCESS | eff) Unit
97+
foreign import chdir :: forall eff. String -> Eff (exception :: EXCEPTION, process :: PROCESS | eff) Unit
9898

9999
-- | Get the current working directory of the process.
100100
cwd :: forall eff. Eff (process :: PROCESS | eff) String
@@ -129,12 +129,12 @@ stdin = process.stdin
129129

130130
-- | The standard output stream. Note that this stream cannot be closed; calling
131131
-- | `end` will result in an exception being thrown.
132-
stdout :: forall eff. Writable () (console :: CONSOLE, err :: EXCEPTION | eff)
132+
stdout :: forall eff. Writable () (console :: CONSOLE, exception :: EXCEPTION | eff)
133133
stdout = process.stdout
134134

135135
-- | The standard error stream. Note that this stream cannot be closed; calling
136136
-- | `end` will result in an exception being thrown.
137-
stderr :: forall eff. Writable () (console :: CONSOLE, err :: EXCEPTION | eff)
137+
stderr :: forall eff. Writable () (console :: CONSOLE, exception :: EXCEPTION | eff)
138138
stderr = process.stderr
139139

140140
-- | Check whether the standard output stream appears to be attached to a TTY.

0 commit comments

Comments
 (0)