[commit: packages/process] master: GH77: replace <$> with fmap (2d6933b)
git at git.haskell.org
git at git.haskell.org
Wed Jul 19 21:18:22 UTC 2017
Repository : ssh://git@git.haskell.org/process
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/2d6933b5afeb6e8c468b74d25c071e0afb779f38/process
>---------------------------------------------------------------
commit 2d6933b5afeb6e8c468b74d25c071e0afb779f38
Author: Tamar Christina <tamar at zhox.com>
Date: Sun Jan 8 09:52:35 2017 +0000
GH77: replace <$> with fmap
>---------------------------------------------------------------
2d6933b5afeb6e8c468b74d25c071e0afb779f38
System/Process/Internals.hs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/System/Process/Internals.hs b/System/Process/Internals.hs
index 299f834..026cd99 100644
--- a/System/Process/Internals.hs
+++ b/System/Process/Internals.hs
@@ -91,7 +91,7 @@ createProcess_
:: String -- ^ function name (for error messages)
-> CreateProcess
-> IO (Maybe Handle, Maybe Handle, Maybe Handle, ProcessHandle)
-createProcess_ msg proc_ = unwrapHandles <$> createProcess_Internal msg proc_
+createProcess_ msg proc_ = unwrapHandles `fmap` createProcess_Internal msg proc_
{-# INLINE createProcess_ #-}
-- ------------------------------------------------------------------------
More information about the ghc-commits
mailing list