Hoogle Search

Within LTS Haskell 24.35 (ghc-9.10.3)

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

  1. forT_ :: Applicative m => Traversal s t a b -> s -> (a -> m ()) -> m ()

    calligraphy Calligraphy.Util.Lens

    No documentation available.

  2. forT_ :: Applicative m => Traversal s t a b -> s -> (a -> m ()) -> m ()

    calligraphy Calligraphy.Util.Types

    No documentation available.

  3. forestT :: forall a b m . Applicative m => (a -> m b) -> Forest a -> m (Forest b)

    calligraphy Calligraphy.Util.Types

    No documentation available.

  4. forbidDepCycles :: forall (m :: Type -> Type) . Monad m => Fire m

    cauldron Cauldron

    Forbid any kind of cyclic dependencies between beans. This is probably what you want.

    >>> :{
    data A = A
    loopyA :: A -> A
    loopyA _ = A
    :}
    
    >>> :{
    (recipe @A $ val $ wire loopyA :: Cauldron IO)
    & cook @A forbidDepCycles
    & \case Left (DependencyCycleError _) -> "self dep is forbidden"; _ -> "oops"
    :}
    "self dep is forbidden"
    

  5. foretellReg :: (Typeable a, Monoid a) => Args (a -> Regs ())

    cauldron Cauldron.Args

    This function is used in an Args context to create a tell-like function that can later be used to register a value into a Regs. The type of the future registration must be an instance of Monoid. There are no other ways of registering values into Regs.

  6. forcePrims :: Machine -> Bool

    clash-lib Clash.Core.Evaluator.Types

    Are we in a context where special primitives must be forced. See [Note: forcing special primitives]

  7. format :: [Node] -> String

    clash-lib Clash.Util.Interpolate

    No documentation available.

  8. formatWith :: forall msg (m :: Type -> Type) . (msg -> Text) -> LogAction m Text -> LogAction m msg

    co-log Colog.Message

    Alias for cmap specialized for formatting purposes. If you have an action that can output Text (for example logTextStdout), you can convert it to the action that can print SimpleMsg or Message:

    logSimpleMsgStdout :: LogAction IO SimpleMsg
    logSimpleMsgStdout = formatWith fmtSimpleMessage logTextStdout
    
    logMessageStdout :: LogAction IO Message
    logMessageStdout = formatWith fmtMessage logTextStdout
    

  9. formattedMessage :: [Text] -> Text -> IO ()

    colourista Colourista.IO

    Print message with specified list of formatting options. See formatWith for more details. If this function takes empty list, no formatting is applied.

  10. formatWith :: (IsString str, Semigroup str) => [str] -> str -> str

    colourista Colourista.Pure

    General purpose function to format strings with multiple options. If this function takes empty list as an argument, no formatting is applied. Some typical usages include but not limited to:

    1. Green text: formatWith [green] myString
    2. Bold red text: formatWith [bold, red] myString
    3. Blue text on white background: formatWith [blue, whiteBg] myString
    4. Italicized yellow on cyan background: formatWith [italic, yellow, cyanBg] myString
    ⚠ Caution: Double underlining doubleUnderline is not widely supported. It is also not natively supported on Windows 10.

Page 158 of many | Previous | Next