Skip to content

Commit

Permalink
Use Haddock markup in deprecation messages
Browse files Browse the repository at this point in the history
(so that Haddock properly hyperlinks the suggested alternatives)
  • Loading branch information
sol authored May 11, 2023
1 parent e122d5a commit 788209f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/System/Process/Typed.hs
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ withProcess :: (MonadUnliftIO m)
-> (Process stdin stdout stderr -> m a)
-> m a
withProcess = withProcessTerm
{-# DEPRECATED withProcess "Please consider using withProcessWait, or instead use withProcessTerm" #-}
{-# DEPRECATED withProcess "Please consider using `withProcessWait`, or instead use `withProcessTerm`" #-}

-- | Same as 'withProcessTerm', but also calls 'checkExitCode'
--
Expand Down Expand Up @@ -389,7 +389,7 @@ withProcess_ :: (MonadUnliftIO m)
-> (Process stdin stdout stderr -> m a)
-> m a
withProcess_ = withProcessTerm_
{-# DEPRECATED withProcess_ "Please consider using withProcessWait_, or instead use withProcessTerm_" #-}
{-# DEPRECATED withProcess_ "Please consider using `withProcessWait_`, or instead use `withProcessTerm_`" #-}

-- | Run a process, capture its standard output and error as a
-- 'L.ByteString', wait for it to complete, and then return its exit
Expand Down

0 comments on commit 788209f

Please sign in to comment.