Hoogle Search

Within LTS Haskell 24.48 (ghc-9.10.3)

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

  1. forceExternalSetupMethod :: SetupScriptOptions -> Bool

    cabal-install Distribution.Client.SetupWrapper

    No documentation available.

  2. forM_ :: (Foldable t, Monad m) => t a -> (a -> m b) -> m ()

    calligraphy Calligraphy.Prelude

    forM_ is mapM_ with its arguments flipped. For a version that doesn't ignore the results see forM. forM_ is just like for_, but specialised to monadic actions.

  3. for_ :: (Foldable t, Applicative f) => t a -> (a -> f b) -> f ()

    calligraphy Calligraphy.Prelude

    for_ is traverse_ with its arguments flipped. For a version that doesn't ignore the results see for. This is forM_ generalised to Applicative actions. for_ is just like forM_, but generalised to Applicative actions.

    Examples

    Basic usage:
    >>> for_ [1..4] print
    1
    2
    3
    4
    

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

    calligraphy Calligraphy.Util.Lens

    No documentation available.

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

    calligraphy Calligraphy.Util.Types

    No documentation available.

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

    calligraphy Calligraphy.Util.Types

    No documentation available.

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

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

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

  10. format :: [Node] -> String

    clash-lib Clash.Util.Interpolate

    No documentation available.

Page 158 of many | Previous | Next