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. setContent :: forall n (c :: Type -> Type) tag text . n c tag text -> CursorG n c tag text -> CursorG n c tag text

    hexpat Text.XML.Expat.Cursor

    Change the current content.

  2. setAttribute :: forall tag n (c :: Type -> Type) text . (Eq tag, NodeClass n c, GenericXMLString tag) => tag -> text -> n c tag text -> n c tag text

    hexpat Text.XML.Expat.Internal.NodeClass

    Set the value of the attribute with the specified name to the value, overwriting the first existing attribute with that name if present.

  3. setAccountAnchor :: Maybe Text -> [Text] -> Text -> Cell border text -> Cell border text

    hledger Hledger.Cli.Anchor

    No documentation available.

  4. setup :: CliOpts -> Journal -> IO ()

    hledger Hledger.Cli.Commands.Setup

    Test and print the status of various aspects of the hledger installation. May also show extra info and hints on how to fix problems. The goal is to detect and show as much useful information as possible, and to complete this task reliably regardless of what we find, without premature termination or misformatting. The tests are grouped into setup* routines, so named because they might do more than just test in future. This is the second version of setup. If it finds that the currently running hledger is not the one installed in PATH (by comparing --version output), it refuses to proceed further until that has been done. This means it can rely on all the latest features and use the hledger API within this process, simplifying things greatly.

  5. setupmode :: Mode RawOpts

    hledger Hledger.Cli.Commands.Setup

    No documentation available.

  6. setErrorHandlerOff :: IO ()

    hmatrix-gsl Numeric.GSL

    This action removes the GSL default error handler (which aborts the program), so that GSL errors can be handled by Haskell (using Control.Exception) and ghci doesn't abort.

  7. setDecode :: (FilePath -> IO (Either String ([String], Value))) -> Options -> Options

    hpack Hpack

    No documentation available.

  8. setFormatYamlParseError :: (FilePath -> ParseException -> String) -> Options -> Options

    hpack Hpack

    This is used to format any ParseExceptions encountered during decoding of defaults. Note that:

    1. This is not used to format ParseExceptions encountered during decoding of the main package.yaml. To customize this you have to set a custom decode function.
    2. Some of the constructors of ParseException are never produced by Hpack (e.g. AesonException as Hpack uses it's own mechanism to decode Values).
    Example:
    example :: IO (Either HpackError Result)
    example = hpackResultWithError options
    where
    options :: Options
    options = setCustomYamlParseErrorFormat format defaultOptions
    
    format :: FilePath -> ParseException -> String
    format file err = file ++ ": " ++ displayException err
    
    setCustomYamlParseErrorFormat :: (FilePath -> ParseException -> String) -> Options -> Options
    setCustomYamlParseErrorFormat format = setDecode decode >>> setFormatYamlParseError format
    where
    decode :: FilePath -> IO (Either String ([String], Value))
    decode file = first (format file) <$> decodeYamlWithParseError file
    

  9. setProgramName :: ProgramName -> Options -> Options

    hpack Hpack

    No documentation available.

  10. setTarget :: FilePath -> Options -> Options

    hpack Hpack

    No documentation available.

Page 443 of many | Previous | Next