Hoogle Search

Within LTS Haskell 24.45 (ghc-9.10.3)

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

  1. waitAnyCatchSTM :: [Async a] -> STM (Async a, Either SomeException a)

    effectful Effectful.Concurrent.Async

    A version of waitAnyCatch that can be used inside an STM transaction.

  2. waitAnySTM :: [Async a] -> STM (Async a, a)

    effectful Effectful.Concurrent.Async

    A version of waitAny that can be used inside an STM transaction.

  3. curryMany :: forall (n :: PeanoNum) (k :: PeanoNum) a b . ArityPeano n => Fun (Add n k) a b -> Fun n a (Fun k a b)

    fixed-vector Data.Vector.Fixed.Cont

    Curry n first parameters of n-ary function

  4. many :: forall (sig :: (Type -> Type) -> Type -> Type) m a . Has Choose sig m => m a -> m [a]

    fused-effects Control.Effect.Choose

    Zero or more.

    many m = some m <|> pure []
    

  5. many :: Alternative f => f a -> f [a]

    fused-effects Control.Effect.NonDet

    Zero or more.

    Examples

    >>> many (putStr "la")
    lalalalalalalalala... * goes on forever *
    
    >>> many Nothing
    Just []
    
    >>> take 5 <$> many (Just 1)
    * hangs forever *
    
    Note that this function can be used with Parsers based on Applicatives. In that case many parser will attempt to parse parser zero or more times until it fails.

  6. isAnyApp :: LHsExpr GhcPs -> Bool

    ghc-lib-parser-ex Language.Haskell.GhclibParserEx.GHC.Hs.Expr

    No documentation available.

  7. insertManyFirstChild :: NodeClass n c => c (n c tag text) -> CursorG n c tag text -> Maybe (CursorG n c tag text)

    hexpat Text.XML.Expat.Cursor

    Insert content as the first child of the current position.

  8. insertManyLastChild :: NodeClass n c => c (n c tag text) -> CursorG n c tag text -> Maybe (CursorG n c tag text)

    hexpat Text.XML.Expat.Cursor

    Insert content as the first child of the current position.

  9. insertManyLeft :: List c => c (n c tag text) -> CursorG n c tag text -> CursorG n c tag text

    hexpat Text.XML.Expat.Cursor

    Insert content to the left of the current position.

  10. insertManyRight :: List c => c (n c tag text) -> CursorG n c tag text -> CursorG n c tag text

    hexpat Text.XML.Expat.Cursor

    Insert content to the right of the current position.

Page 179 of many | Previous | Next