Hoogle Search

Within LTS Haskell 24.2 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. dlerror :: IO String

    unix System.Posix.DynamicLinker.ByteString

    No documentation available.

  2. moduleError :: IO String

    unix System.Posix.DynamicLinker.Module

    No documentation available.

  3. moduleError :: IO String

    unix System.Posix.DynamicLinker.Module.ByteString

    No documentation available.

  4. getLoginName :: IO String

    unix System.Posix.User

    getLoginName calls getlogin to obtain the login name associated with the current process.

  5. getEffectiveUserName :: IO String

    unix System.Posix.User

    getEffectiveUserName gets the name associated with the effective UserID of the process.

  6. getLine :: IO String

    hedgehog Hedgehog.Internal.Prelude

    Read a line from the standard input device (same as hGetLine stdin).

  7. getContents :: IO String

    hedgehog Hedgehog.Internal.Prelude

    The getContents operation returns all user input as a single string, which is read lazily as it is needed (same as hGetContents stdin).

  8. getReportedCursorPosition :: IO String

    ansi-terminal System.Console.ANSI

    Attempts to get the reported cursor position data from the console input stream. The function is intended to be called immediately after reportCursorPosition (or related functions) have caused characters to be emitted into the stream. For example, on a Unix-like operating system:

    -- set no buffering (if 'no buffering' is not already set, the contents of
    -- the buffer will be discarded, so this needs to be done before the cursor
    -- positon is emitted)
    hSetBuffering stdin NoBuffering
    -- ensure that echoing is off
    input <- bracket (hGetEcho stdin) (hSetEcho stdin) $ \_ -> do
    hSetEcho stdin False
    reportCursorPosition
    hFlush stdout -- ensure the report cursor position code is sent to the
    -- operating system
    getReportedCursorPosition
    
    On Windows operating systems, the function is not supported on consoles, such as mintty, that are not based on the Windows' Console API. (Command Prompt and PowerShell are based on the Console API.)

  9. getProgName :: IO String

    base-compat System.Environment.Compat

    Computation getProgName returns the name of the program as it was invoked. However, this is hard-to-impossible to implement on some non-Unix OSes, so instead, for maximum portability, we just return the leafname of the program as invoked. Even then there are some differences between platforms: on Windows, for example, a program invoked as foo is probably really FOO.EXE, and that is what getProgName will return.

  10. getContents' :: IO String

    base-compat System.IO.Compat

    The getContents' operation returns all user input as a single string, which is fully read before being returned (same as hGetContents' stdin).

Page 2 of many | Previous | Next