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. PGAny :: PseudoGlob

    ShellCheck ShellCheck.ASTLib

    No documentation available.

  2. PGMany :: PseudoGlob

    ShellCheck ShellCheck.ASTLib

    No documentation available.

  3. manyWithPos :: (Monad m, Alternative m) => ((t, t1) -> m (a, (t, t1))) -> ((t, t1) -> m (Maybe (a, (t, t1)))) -> (t, t1) -> m ([a], (t, t1))

    ace ACE.Tokenizer

    Like many, but retains the current source position and supports postfix-parsing of the genitive apostrophe.

  4. readFileIfAny :: FilePath -> IO String

    aftovolio Data.ChooseLine2

    Inspired by: 'https://hackage.haskell.org/package/base-4.15.0.0/docs/src/GHC-IO.html#catch' Is taken from the https:/hackage.haskell.orgpackagestring-interpreter-0.8.0.0docssrcInterpreter.StringConversion.html#readFileIfAny to reduce general quantity of dependencies. Reads a textual file given by its FilePath and returns its contents lazily. If there is some IOException thrown or an empty file then returns just "". Raises an exception for the binary file.

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

    appar Text.Appar.ByteString

    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. manyTill :: MkParser inp a -> MkParser inp b -> MkParser inp [a]

    appar Text.Appar.ByteString

    manyTill p end applies parser p zero or more times until parser end succeeds. Returns the list of values returned by p.

  7. skipMany :: MkParser inp a -> MkParser inp ()

    appar Text.Appar.ByteString

    skipMany p applies the parser p zero or more times, skipping its result.

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

    appar Text.Appar.LazyByteString

    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.

  9. manyTill :: MkParser inp a -> MkParser inp b -> MkParser inp [a]

    appar Text.Appar.LazyByteString

    manyTill p end applies parser p zero or more times until parser end succeeds. Returns the list of values returned by p.

  10. skipMany :: MkParser inp a -> MkParser inp ()

    appar Text.Appar.LazyByteString

    skipMany p applies the parser p zero or more times, skipping its result.

Page 214 of many | Previous | Next