Hoogle Search

Within LTS Haskell 24.40 (ghc-9.10.3)

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

  1. ManyUpperBound1 :: ManyUpperBound

    butcher UI.Butcher.Monadic.Command

    No documentation available.

  2. ManyUpperBoundN :: ManyUpperBound

    butcher UI.Butcher.Monadic.Command

    No documentation available.

  3. addCmdPartMany :: forall (f :: Type -> Type) p out . (Applicative f, Typeable p) => ManyUpperBound -> PartDesc -> (String -> Maybe (p, String)) -> CmdParser f out [p]

    butcher UI.Butcher.Monadic.Command

    Add part that is not required to occur, and can occur as often as indicated by ManyUpperBound. Must not succeed on empty input.

  4. addCmdPartManyInp :: forall (f :: Type -> Type) p out . (Applicative f, Typeable p) => ManyUpperBound -> PartDesc -> (Input -> Maybe (p, Input)) -> CmdParser f out [p]

    butcher UI.Butcher.Monadic.Command

    Add part that is not required to occur, and can occur as often as indicated by ManyUpperBound. Must not succeed on empty input. Only difference to addCmdPart is that it accepts Input, i.e. can behave differently for String and [String] input.

  5. PartMany :: PartDesc -> PartDesc

    butcher UI.Butcher.Monadic.Types

    No documentation available.

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

    cabal-install-solver Distribution.Solver.Compat.Prelude

    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.

  7. filterIfAny :: (a -> Bool) -> PSQ k a -> PSQ k a

    cabal-install-solver Distribution.Solver.Modular.PSQ

    Will partition the list according to the predicate. If there is any element that satisfies the predicate, then only the elements satisfying the predicate are returned. Otherwise, the rest is returned.

  8. filterIfAnyByKeys :: (k -> Bool) -> PSQ k a -> PSQ k a

    cabal-install-solver Distribution.Solver.Modular.PSQ

    Variant of filterIfAny that takes a predicate on the keys rather than on the values.

  9. ScopeAnyQualifier :: PackageName -> ConstraintScope

    cabal-install-solver Distribution.Solver.Types.PackageConstraint

    The package with the specified name regardless of qualifier.

  10. ScopeAnySetupQualifier :: PackageName -> ConstraintScope

    cabal-install-solver Distribution.Solver.Types.PackageConstraint

    The package with the specified name when it has a setup qualifier.

Page 186 of many | Previous | Next