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. setAmountInternalPrecision :: Word8 -> Amount -> Amount

    hledger-lib Hledger.Data.Amount

    Set an amount's internal decimal precision as well as its display precision. This rounds or pads its Decimal quantity to the specified number of decimal places. Rounding is done with Data.Decimal's default roundTo function: "If the value ends in 5 then it is rounded to the nearest even value (Banker's Rounding)".

  2. setboolopt :: String -> RawOpts -> RawOpts

    hledger-lib Hledger.Data.RawOptions

    No documentation available.

  3. setopt :: String -> String -> RawOpts -> RawOpts

    hledger-lib Hledger.Data.RawOptions

    No documentation available.

  4. setDefaultCommodityAndStyle :: forall (m :: Type -> Type) . (CommoditySymbol, AmountStyle) -> JournalParser m ()

    hledger-lib Hledger.Read.Common

    No documentation available.

  5. setYear :: forall (m :: Type -> Type) . Year -> JournalParser m ()

    hledger-lib Hledger.Read.Common

    No documentation available.

  6. setDefaultConversionOp :: ConversionOp -> ReportSpec -> ReportSpec

    hledger-lib Hledger.Reports.ReportOptions

    Set the default ConversionOp.

  7. setEither :: ((a -> Either e b) -> s -> Either e t) -> b -> s -> Either e t

    hledger-lib Hledger.Reports.ReportOptions

    Set a field using a lens, but report on failure.

  8. setupPager :: IO ()

    hledger-lib Hledger.Utils.IO

    No documentation available.

  9. setAccept :: ByteString -> RequestBuilder ()

    http-streams Network.Http.Client

    Indicate the content type you are willing to receive in a reply from the server. For more complex Accept: headers, use setAccept'.

  10. setAccept' :: [(ByteString, Float)] -> RequestBuilder ()

    http-streams Network.Http.Client

    Indicate the content types you are willing to receive in a reply from the server in order of preference. A call of the form:

    setAccept' [("text/html", 1.0),
    ("application/xml", 0.8),
    ("*/*", 0)]
    
    will result in an Accept: header value of text/html; q=1.0, application/xml; q=0.8, */*; q=0.0 as you would expect.

Page 351 of many | Previous | Next