Hoogle Search

Within LTS Haskell 24.67 (ghc-9.10.3)

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

  1. readFileIn' :: (MonadAction m, Partial) => Path b Dir -> Path Rel File -> m Text

    shake-plus Development.Shake.Plus.File

    Like readFile', but with an argument for the parent directory. Used for symmetry with the way getDirectoryFiles takes arguments.

  2. readFileLines :: (MonadAction m, Partial) => Path b File -> m [Text]

    shake-plus Development.Shake.Plus.File

    Lifted version of readFileLines a well-typed filepath.

  3. readVar :: Term Var String -> Script ()

    shell-monad Control.Monad.Shell

    Fills a variable with a line read from stdin.

  4. readSVar :: SVar a -> IO a

    skip-var Control.Concurrent.SVar

    Read a value from an SVar. Blocks if there isn't a new value since the last read, or if the SVar is empty.

  5. readRef :: Ref m a -> m a

    stateref Data.StateRef

    Read a Ref. See readReference.

  6. readsRef :: (ReadRef sr m a, Monad m) => sr -> (a -> b) -> m b

    stateref Data.StateRef

    Essentially the same concept as gets, asks, et al. Typically useful to read a field of a referenced ADT by passing a record selector as the second argument.

  7. readReference :: ReadRef sr m a => sr -> m a

    stateref Data.StateRef.Types

    Get the current value referenced by the given state reference.

  8. readChan :: NFData a => Chan a -> IO a

    strict-concurrency Control.Concurrent.Chan.Strict

    Read the next value from the Chan.

  9. 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.

  10. 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.

Page 362 of many | Previous | Next