Hoogle Search

Within LTS Haskell 24.6 (ghc-9.10.2)

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

  1. forkProcess :: IO () -> IO ProcessID

    unix System.Posix.Process.PosixString

    forkProcess corresponds to the POSIX fork system call. The IO action passed as an argument is executed in the child process; no other threads will be copied to the child process. On success, forkProcess returns the child's ProcessID to the parent process; in case of an error, an exception is thrown. The exception masking state of the executed action is inherited (c.f. forkIO), see also forkProcessWithUnmask (since: 2.7.0.0). forkProcess comes with a giant warning: since any other running threads are not copied into the child process, it's easy to go wrong: e.g. by accessing some shared resource that was held by another thread in the parent. GHC note: forkProcess is not currently very well supported when using multiple capabilities (+RTS -N), although it is supported with -threaded as long as only one capability is being used.

  2. forkProcessWithUnmask :: ((forall a . () => IO a -> IO a) -> IO ()) -> IO ProcessID

    unix System.Posix.Process.PosixString

    Variant of forkProcess in the style of forkIOWithUnmask.

  3. forwardOptions :: InfoMod a

    optparse-applicative Options.Applicative

    Intersperse matched options and arguments normally, but allow unmatched options to be treated as positional arguments. This is sometimes useful if one is wrapping a third party cli tool and needs to pass options through, while also providing a handful of their own options. Not recommended in general as typos by the user may not yield a parse error and cause confusion.

  4. forwardOptions :: InfoMod a

    optparse-applicative Options.Applicative.Builder

    Intersperse matched options and arguments normally, but allow unmatched options to be treated as positional arguments. This is sometimes useful if one is wrapping a third party cli tool and needs to pass options through, while also providing a handful of their own options. Not recommended in general as typos by the user may not yield a parse error and cause confusion.

  5. formDataBody :: MonadIO m => [Part] -> Request -> m Request

    http-client Network.HTTP.Client.MultipartFormData

    Add form data to the Request. This sets a new requestBody, adds a content-type request header and changes the method to POST.

  6. formDataBodyWithBoundary :: Applicative m => ByteString -> [PartM m] -> Request -> m Request

    http-client Network.HTTP.Client.MultipartFormData

    Add form data with supplied boundary

  7. forConcurrently :: (MonadUnliftIO m, Traversable t) => t a -> (a -> m b) -> m (t b)

    unliftio UnliftIO.Async

    Similar to mapConcurrently but with arguments flipped

  8. forConcurrently_ :: (MonadUnliftIO m, Foldable f) => f a -> (a -> m b) -> m ()

    unliftio UnliftIO.Async

    Similar to mapConcurrently_ but with arguments flipped

  9. forkFinally :: MonadUnliftIO m => m a -> (Either SomeException a -> m ()) -> m ThreadId

    unliftio UnliftIO.Concurrent

    Unlifted version of forkFinally.

  10. forkIO :: MonadUnliftIO m => m () -> m ThreadId

    unliftio UnliftIO.Concurrent

    Unlifted version of forkIO.

Page 18 of many | Previous | Next