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

  2. readerAbort :: ParseError -> ReadM a

    configuration-tools Configuration.Utils.CommandLine

    Abort option reader by exiting with a ParseError.

  3. readerError :: String -> ReadM a

    configuration-tools Configuration.Utils.CommandLine

    Abort option reader by exiting with an error message.

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

    configuration-tools Configuration.Utils.Internal.ConfigFileReader

    No documentation available.

  5. 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)

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

  7. readCalCurveFromFile :: FilePath -> IO CalCurveBP

    currycarbon Currycarbon

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

  8. readUncalC14FromFile :: FilePath -> IO [UncalC14]

    currycarbon Currycarbon

    Read uncalibrated radiocarbon dates from a file. The file should feature one radiocarbon date per line in the form "<sample name>,<mean age BP>,<one sigma standard deviation>", where <sample name> is optional. A valid file could look like this:

    Sample1,5000,30
    6000,50
    Sample3,4000,25
    

  9. readCalCurve :: String -> CalCurveBP

    currycarbon Currycarbon.CalCurves

    No documentation available.

  10. readCalCurveFromFile :: FilePath -> IO CalCurveBP

    currycarbon Currycarbon.CalCurves

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

Page 303 of many | Previous | Next