Hoogle Search

Within LTS Haskell 24.46 (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)

    async Control.Concurrent.Async.Internal

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

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

    async Control.Concurrent.Async.Internal

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

  3. sendMany :: Socket -> [ByteString] -> IO ()

    network Network.Socket.ByteString

    Send data to the socket. The socket must be in a connected state. The data is sent as if the parts have been concatenated. This function continues to send data until either all data has been sent or an error occurs. On error, an exception is raised, and there is no way to determine how much data, if any, was successfully sent.

  4. sendManyTo :: Socket -> [ByteString] -> SockAddr -> IO ()

    network Network.Socket.ByteString

    Send data to the socket. The recipient can be specified explicitly, so the socket need not be in a connected state. The data is sent as if the parts have been concatenated. This function continues to send data until either all data has been sent or an error occurs. On error, an exception is raised, and there is no way to determine how much data, if any, was successfully sent.

  5. sendManyWithFds :: Socket -> [ByteString] -> [Fd] -> IO ()

    network Network.Socket.ByteString

    Send data and file descriptors over a UNIX-domain socket in a single system call. This function does not work on Windows.

  6. many :: forall s u (m :: Type -> Type) a . ParsecT s u m a -> ParsecT s u m [a]

    parsec Text.Parsec

    many p applies the parser p zero or more times. Returns a list of the returned values of p.

    identifier  = do{ c  <- letter
    ; cs <- many (alphaNum <|> char '_')
    ; return (c:cs)
    }
    

  7. many1 :: forall s u (m :: Type -> Type) a . ParsecT s u m a -> ParsecT s u m [a]

    parsec Text.Parsec

    many1 p applies the parser p one or more times. Returns a list of the returned values of p.

    word  = many1 letter
    

  8. manyAccum :: forall a s u (m :: Type -> Type) . (a -> [a] -> [a]) -> ParsecT s u m a -> ParsecT s u m [a]

    parsec Text.Parsec

    No documentation available.

  9. manyTill :: forall s (m :: Type -> Type) t u a end . Stream s m t => ParsecT s u m a -> ParsecT s u m end -> ParsecT s u m [a]

    parsec Text.Parsec

    manyTill p end applies parser p zero or more times until parser end succeeds. Returns the list of values returned by p. This parser can be used to scan comments:

    simpleComment   = do{ string "<!--"
    ; manyTill anyChar (try (string "-->"))
    }
    
    Note the overlapping parsers anyChar and string "-->", and therefore the use of the try combinator.

  10. skipMany :: forall s u (m :: Type -> Type) a . ParsecT s u m a -> ParsecT s u m ()

    parsec Text.Parsec

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

    spaces  = skipMany space
    

Page 104 of many | Previous | Next