/usr/share/doc/libghc-hclip-doc/html/Hclip.txt is in libghc-hclip-doc 3.0.0.4-3.
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 39 40 41 42 43 44 45 46 47 48 49 50 | -- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | A small cross-platform library for reading and modifying the system clipboard.
--
-- A small cross-platform library for reading and modifying the system
-- clipboard.
--
-- Hclip works on Windows, Mac OS X and Linux (but see the requirements
-- below!).
--
-- Requirements:
--
-- <ul>
-- <li>Windows: No additional requirements.</li>
-- <li>Mac OS X: Requires the pbcopy and pbpaste commands, which ship
-- with Mac OS X.</li>
-- <li>Linux: Requires xclip or xsel installed.</li>
-- </ul>
@package Hclip
@version 3.0.0.4
-- | A small cross-platform library for reading and modifying the system
-- clipboard.
module System.Hclip
-- | Read clipboard contents.
getClipboard :: IO String
-- | Set clipboard contents.
setClipboard :: String -> IO ()
-- | Apply function to clipboard and return its new contents.
modifyClipboard :: (String -> String) -> IO String
-- | Apply function to clipboard.
modifyClipboard_ :: (String -> String) -> IO ()
-- | Delete Clipboard contents.
clearClipboard :: IO ()
-- | Exceptions
data ClipboardException
UnsupportedOS :: String -> ClipboardException
NoTextualData :: ClipboardException
MissingCommands :: [String] -> ClipboardException
instance GHC.Exception.Exception System.Hclip.ClipboardException
instance GHC.Show.Show System.Hclip.ClipboardException
|