Hoogle Search

Within LTS Haskell 24.21 (ghc-9.10.3)

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

  1. replicateT :: Default (Replicator r f) b b => r -> f b

    product-profunctors Data.Profunctor.Product.Examples

    A higher-order generalisation of replicate. For example

    foo :: IO (String, String, String)
    foo = replicateT getLine
    
    > foo
    Hello
    world
    !
    ("Hello","world","!")
    

  2. traverseT :: Default (Traverse f) a b => a -> f b

    product-profunctors Data.Profunctor.Product.Examples

    Use sequenceT instead. It has a better name.

  3. sequenceT :: Default (Sequence f) a b => a -> f b

    product-profunctors Data.Profunctor.Product.Examples

    A higher-order generalisation of sequenceA. For example

    > sequenceT (print 3110, putStrLn World) :: IO ((), ())
    3110
    World
    ((),())
    

  4. getValue :: (MonadState (Dependencies v n) m, MonadError (DepError v n) m, Eq v, Hashable v) => v -> m n

    mfsolve Math.MFSolve

    Return the value of the variable or throw an error.

Page 4 of many | Previous | Next