diff options
| author | Herbert Valerio Riedel <hvr@gnu.org> | 2014-12-16 12:07:10 +0100 |
|---|---|---|
| committer | Herbert Valerio Riedel <hvr@gnu.org> | 2014-12-16 13:30:08 +0100 |
| commit | 554aedab646075e12e53b44df04bcfbccbe03a73 (patch) | |
| tree | 0832201a44fd74632bbbd88fb77cb6c11eb34cf7 /libraries/base/Control/Concurrent/MVar.hs | |
| parent | 45a9696c550c5fe5e891b6d4710179272dc9f6db (diff) | |
| download | haskell-554aedab646075e12e53b44df04bcfbccbe03a73.tar.gz | |
Convert `/Since: .../` to new `@since ...` syntax
Starting with Haddock 2.16 there's a new built-in support for since-annotations
Note: This exposes a bug in the `@since` implementation (see e.g. `Data.Bits`)
Diffstat (limited to 'libraries/base/Control/Concurrent/MVar.hs')
| -rw-r--r-- | libraries/base/Control/Concurrent/MVar.hs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libraries/base/Control/Concurrent/MVar.hs b/libraries/base/Control/Concurrent/MVar.hs index 72a44d38d9..45c05fdc9b 100644 --- a/libraries/base/Control/Concurrent/MVar.hs +++ b/libraries/base/Control/Concurrent/MVar.hs @@ -193,7 +193,7 @@ withMVar m io = Like 'withMVar', but the @IO@ action in the second argument is executed with asynchronous exceptions masked. - /Since: 4.7.0.0/ + @since 4.7.0.0 -} {-# INLINE withMVarMasked #-} withMVarMasked :: MVar a -> (a -> IO b) -> IO b @@ -236,7 +236,7 @@ modifyMVar m io = Like 'modifyMVar_', but the @IO@ action in the second argument is executed with asynchronous exceptions masked. - /Since: 4.6.0.0/ + @since 4.6.0.0 -} {-# INLINE modifyMVarMasked_ #-} modifyMVarMasked_ :: MVar a -> (a -> IO a) -> IO () @@ -250,7 +250,7 @@ modifyMVarMasked_ m io = Like 'modifyMVar', but the @IO@ action in the second argument is executed with asynchronous exceptions masked. - /Since: 4.6.0.0/ + @since 4.6.0.0 -} {-# INLINE modifyMVarMasked #-} modifyMVarMasked :: MVar a -> (a -> IO (a,b)) -> IO b @@ -268,7 +268,7 @@ addMVarFinalizer = GHC.MVar.addMVarFinalizer -- | Make a 'Weak' pointer to an 'MVar', using the second argument as -- a finalizer to run when 'MVar' is garbage-collected -- --- /Since: 4.6.0.0/ +-- @since 4.6.0.0 mkWeakMVar :: MVar a -> IO () -> IO (Weak (MVar a)) mkWeakMVar m@(MVar m#) f = IO $ \s -> case mkWeak# m# m f s of (# s1, w #) -> (# s1, Weak w #) |
