Hoogle Search

Within LTS Haskell 24.51 (ghc-9.10.3)

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

  1. readFreshManifest :: [TopEntityT] -> (BindingMap, Id) -> CompiledPrimMap -> ClashOpts -> UTCTime -> FilePath -> IO (Maybe [UnexpectedModification], Maybe Manifest, ByteString)

    clash-lib Clash.Driver.Manifest

    Reads a manifest file. Does not return manifest file if:

    • Caching is disabled through -fclash-no-cache.
    • Manifest could not be found.
    • Cache is stale. This could be triggered by any of the given arguments.
    Raises an exception if the manifest file or any of the files it is referring to was inaccessible.

  2. readManifest :: FromJSON a => FilePath -> IO (Maybe a)

    clash-lib Clash.Driver.Manifest

    Read a manifest file from disk. Returns Nothing if file does not exist. Any other IO exception is re-raised.

  3. readerP :: forall (m :: Type -> Type) r i o u a . Monad m => (r -> Pipe i o u m a) -> Pipe i o u (ReaderT r m) a

    conduino Data.Conduino.Lift

    Turn a "parameterized Pipe" into a Pipe that runs over ReaderT, so you can chain it with other ReaderT pipes. Essentially, instead of directly providing the r in an r -> Pipe i o u m a, the r instead comes from the globally shared environment.

  4. readStorableV :: forall (m :: Type -> Type) a . (MonadIO m, Storable a) => Int -> ConduitM ByteString (Vector a) m ()

    conduit-algorithms Data.Conduit.Algorithms.Storable

    read a Storable vector This expects the same format as the in-memory vector. This will break up the incoming data into vectors of the given size. The last vector may be smaller if there is not enough data. Any unconsumed Bytes will be leftover for the next conduit in the pipeline. See writeStorableV

  5. readerAbort :: ParseError -> ReadM a

    configuration-tools Configuration.Utils.CommandLine

    Abort option reader by exiting with a ParseError.

  6. readerError :: String -> ReadM a

    configuration-tools Configuration.Utils.CommandLine

    Abort option reader by exiting with an error message.

  7. readConfigFile :: (ConfigFileParser m, FromJSON (a -> a)) => ConfigFilesConfig -> ConfigFile -> m (a -> a)

    configuration-tools Configuration.Utils.Internal.ConfigFileReader

    No documentation available.

  8. readProcess :: [Rope] -> Program τ (ExitCode, Rope, Rope)

    core-program Core.Program.Execute

    Execute an external child process and wait for its output and result. The command is specified first and and subsequent arguments as elements of the list. This helper then logs the command being executed to the debug output, which can be useful when you're trying to find out what exactly what program is being invoked. Keep in mind that this isn't invoking a shell; arguments and their values have to be enumerated separately:

    readProcess ["/usr/bin/ssh", "-l", "admin", "203.0.113.42", "\'remote command here\'"]
    
    having to write out the individual options and arguments and deal with escaping is a bit of an annoyance but that's execvp(3) for you. The return tuple is the exit code from the child process, its entire stdout and its entire stderr, if any. Note that this is not a streaming interface, so if you're doing something that returns huge amounts of output you'll want to use something like io-streams instead. (this wraps typed-process's readProcess)

  9. readCSVFile :: (MonadIO m, CSV ByteString a) => CSVSettings -> FilePath -> m (Vector a)

    csv-conduit Data.CSV.Conduit

    Read the entire contents of a CSV file into memory.

  10. readCalCurveFromFile :: FilePath -> IO CalCurveBP

    currycarbon Currycarbon

    Read a calibration curve file. The file must adhere to the .14c file format.

Page 305 of many | Previous | Next