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.
readFileIn' :: (MonadAction m, Partial) => Path b Dir -> Path Rel File -> m Textshake-plus Development.Shake.Plus.File Like readFile', but with an argument for the parent directory. Used for symmetry with the way getDirectoryFiles takes arguments.
readFileLines :: (MonadAction m, Partial) => Path b File -> m [Text]shake-plus Development.Shake.Plus.File Lifted version of readFileLines a well-typed filepath.
readVar :: Term Var String -> Script ()shell-monad Control.Monad.Shell Fills a variable with a line read from stdin.
-
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.
-
stateref Data.StateRef Read a Ref. See readReference.
readsRef :: (ReadRef sr m a, Monad m) => sr -> (a -> b) -> m bstateref 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.
readReference :: ReadRef sr m a => sr -> m astateref Data.StateRef.Types Get the current value referenced by the given state reference.
readChan :: NFData a => Chan a -> IO astrict-concurrency Control.Concurrent.Chan.Strict Read the next value from the Chan.
readMVar :: NFData a => MVar a -> IO astrict-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.
readFile :: StringRWIO s => FilePath -> IO sstring-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.