Skip to content

Commit 166971f

Browse files
soltomjaguarpaw
authored andcommittedNov 24, 2024·
Fix haddocks of createPipe
1 parent a5a3865 commit 166971f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
 

‎System/Process/Internals.hs

+5-5
Original file line numberDiff line numberDiff line change
@@ -200,22 +200,22 @@ runGenProcess_ fun c _ _ = createProcess_ fun c
200200
--
201201
-- @
202202
-- #if defined(__IO_MANAGER_WINIO__)
203-
-- import GHC.IO.SubSystem ((<!>))
203+
-- import GHC.IO.SubSystem ((`<!>`))
204204
-- import GHC.IO.Handle.Windows (handleToHANDLE)
205205
-- import GHC.Event.Windows (associateHandle')
206206
-- #endif
207207
--
208208
-- ...
209209
--
210-
-- #if defined (__IO_MANAGER_WINIO__)
211-
-- return () <!> (do
212-
-- associateHandle' =<< handleToHANDLE <handle>)
210+
-- #if defined(__IO_MANAGER_WINIO__)
211+
-- return () \<!> do
212+
-- associateHandle' =\<\< handleToHANDLE readEnd
213213
-- #endif
214214
-- @
215215
--
216216
-- Only associate handles that you are in charge of read/writing to.
217217
-- Do not associate handles passed to another process. It's the
218-
-- process's reponsibility to register the handle if it supports
218+
-- process's responsibility to register the handle if it supports
219219
-- async access.
220220
--
221221
-- @since 1.2.1.0

0 commit comments

Comments
 (0)
Please sign in to comment.