From 788209fe300245fe384f6e2d5dc6385409c5c486 Mon Sep 17 00:00:00 2001 From: Simon Hengel Date: Thu, 11 May 2023 08:38:56 +0700 Subject: [PATCH] Use Haddock markup in deprecation messages (so that Haddock properly hyperlinks the suggested alternatives) --- src/System/Process/Typed.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/System/Process/Typed.hs b/src/System/Process/Typed.hs index 2d74b58..731c0f9 100644 --- a/src/System/Process/Typed.hs +++ b/src/System/Process/Typed.hs @@ -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' -- @@ -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