Hoogle Search

Within LTS Haskell 24.33 (ghc-9.10.3)

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

  1. readMVar :: NFData a => MVar a -> IO a

    strict-concurrency Control.Concurrent.MVar.Strict

    This is a combination of takeMVar and putMVar; ie. it takes the value from the MVar, puts it back, and also returns it.

  2. readFile :: StringRWIO s => FilePath -> IO s

    string-class Data.String.Class

    Read a file and returns the contents of the file as a string Depending on the instance, this function might expect the file to be non-binary. The default definition uses openFile to open the file.

  3. readTorrent :: ByteString -> Either String Torrent

    torrent Data.Torrent

    No documentation available.

  4. readMaybe :: Read a => String -> Maybe a

    verset Verset

    Parse a string using the Read instance. Succeeds if there is exactly one valid result.

    >>> readMaybe "123" :: Maybe Int
    Just 123
    
    >>> readMaybe "hello" :: Maybe Int
    Nothing
    

  5. readUserDirs :: IO (Map String String)

    xdg-userdirs System.Environment.XDG.UserDir

    Read user-configured set of user directories (from user-dirs.dirs)

  6. readBitmapFile :: Display -> Drawable -> String -> IO (Either String (Dimension, Dimension, Pixmap, Maybe CInt, Maybe CInt))

    xmonad-contrib XMonad.Config.Prime

    interface to the X11 library function XReadBitmapFile.

  7. readFile :: FilePath -> IO String

    xmonad-contrib XMonad.Config.Prime

    The readFile function reads a file and returns the contents of the file as a string. The file is read lazily, on demand, as with getContents.

  8. readIO :: Read a => String -> IO a

    xmonad-contrib XMonad.Config.Prime

    The readIO function is similar to read except that it signals parse failure to the IO monad instead of terminating the program.

  9. readList :: Read a => ReadS [a]

    xmonad-contrib XMonad.Config.Prime

    The method readList is provided to allow the programmer to give a specialised way of parsing lists of values. For example, this is used by the predefined Read instance of the Char type, where values of type String are expected to use double quotes, rather than square brackets.

  10. readLn :: Read a => IO a

    xmonad-contrib XMonad.Config.Prime

    The readLn function combines getLine and readIO.

Page 362 of many | Previous | Next