Hoogle Search

Within LTS Haskell 24.39 (ghc-9.10.3)

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

  1. ianyOf :: IndexedGetting i Any s a -> (i -> a -> Bool) -> s -> Bool

    lens Control.Lens.Combinators

    Return whether or not any element viewed through an IndexedFold or IndexedTraversal satisfy a predicate, with access to the i. When you don't need access to the index then anyOf is more flexible in what it accepts.

    anyOf l ≡ ianyOf l . const
    
    ianyOf :: IndexedGetter i s a     -> (i -> a -> Bool) -> s -> Bool
    ianyOf :: IndexedFold i s a       -> (i -> a -> Bool) -> s -> Bool
    ianyOf :: IndexedLens' i s a      -> (i -> a -> Bool) -> s -> Bool
    ianyOf :: IndexedTraversal' i s a -> (i -> a -> Bool) -> s -> Bool
    

  2. ianyOf :: IndexedGetting i Any s a -> (i -> a -> Bool) -> s -> Bool

    lens Control.Lens.Fold

    Return whether or not any element viewed through an IndexedFold or IndexedTraversal satisfy a predicate, with access to the i. When you don't need access to the index then anyOf is more flexible in what it accepts.

    anyOf l ≡ ianyOf l . const
    
    ianyOf :: IndexedGetter i s a     -> (i -> a -> Bool) -> s -> Bool
    ianyOf :: IndexedFold i s a       -> (i -> a -> Bool) -> s -> Bool
    ianyOf :: IndexedLens' i s a      -> (i -> a -> Bool) -> s -> Bool
    ianyOf :: IndexedTraversal' i s a -> (i -> a -> Bool) -> s -> Bool
    

  3. iany :: FoldableWithIndex i f => (i -> a -> Bool) -> f a -> Bool

    lens Control.Lens.Indexed

    Return whether or not any element in a container satisfies a predicate, with access to the index i. When you don't need access to the index then any is more flexible in what it accepts.

    anyiany . const
    

  4. _AnyclassStrategy :: Prism' DerivStrategy ()

    lens Language.Haskell.TH.Lens

    No documentation available.

  5. 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.

  6. 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.

  7. 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.

  8. cancelMany :: [Async a] -> IO ()

    async Control.Concurrent.Async

    Cancel multiple asynchronous actions by throwing the AsyncCancelled exception to each of them in turn, then waiting for all the Async threads to complete.

  9. waitAny :: [Async a] -> IO (Async a, a)

    async Control.Concurrent.Async

    Wait for any of the supplied Asyncs to complete. If the first to complete throws an exception, then that exception is re-thrown by waitAny. The input list must be non-empty. If multiple Asyncs complete or have completed, then the value returned corresponds to the first completed Async in the list.

  10. waitAnyCancel :: [Async a] -> IO (Async a, a)

    async Control.Concurrent.Async

    Like waitAny, but also cancels the other asynchronous operations as soon as one has completed.

Page 101 of many | Previous | Next