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.
forT_ :: Applicative m => Traversal s t a b -> s -> (a -> m ()) -> m ()calligraphy Calligraphy.Util.Lens No documentation available.
forT_ :: Applicative m => Traversal s t a b -> s -> (a -> m ()) -> m ()calligraphy Calligraphy.Util.Types No documentation available.
forestT :: forall a b m . Applicative m => (a -> m b) -> Forest a -> m (Forest b)calligraphy Calligraphy.Util.Types No documentation available.
forbidDepCycles :: forall (m :: Type -> Type) . Monad m => Fire mcauldron 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"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.
-
clash-lib Clash.Core.Evaluator.Types Are we in a context where special primitives must be forced. See [Note: forcing special primitives]
-
clash-lib Clash.Util.Interpolate No documentation available.
formatWith :: forall msg (m :: Type -> Type) . (msg -> Text) -> LogAction m Text -> LogAction m msgco-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
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.
formatWith :: (IsString str, Semigroup str) => [str] -> str -> strcolourista 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:
- Green text: formatWith [green] myString
- Bold red text: formatWith [bold, red] myString
- Blue text on white background: formatWith [blue, whiteBg] myString
- Italicized yellow on cyan background: formatWith [italic, yellow, cyanBg] myString