/usr/share/doc/libghc-silently-doc/html/silently.txt is in libghc-silently-doc 1.2.4-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | -- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Prevent or capture writing to stdout and other handles.
--
-- Prevent or capture writing to stdout and other handles.
@package silently
@version 1.2.4
-- | Need to prevent output to the terminal, a file, or stderr? Need to
-- capture it and use it for your own means? Now you can, with
-- <a>silence</a> and <a>capture</a>.
module System.IO.Silently
-- | Run an IO action while preventing all output to stdout.
silence :: IO a -> IO a
-- | Run an IO action while preventing all output to the given handles.
hSilence :: [Handle] -> IO a -> IO a
-- | Run an IO action while preventing and capturing all output to stdout.
-- This will, as a side effect, create and delete a temp file in the temp
-- directory or current directory if there is no temp directory.
capture :: IO a -> IO (String, a)
-- | Like <a>capture</a>, but discards the result of given action.
capture_ :: IO a -> IO String
-- | Run an IO action while preventing and capturing all output to the
-- given handles. This will, as a side effect, create and delete a temp
-- file in the temp directory or current directory if there is no temp
-- directory.
hCapture :: [Handle] -> IO a -> IO (String, a)
-- | Like <a>hCapture</a>, but discards the result of given action.
hCapture_ :: [Handle] -> IO a -> IO String
|