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.
forkProcess :: IO () -> IO ProcessIDunix 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.
forkProcessWithUnmask :: ((forall a . () => IO a -> IO a) -> IO ()) -> IO ProcessIDunix System.Posix.Process.PosixString Variant of forkProcess in the style of forkIOWithUnmask.
-
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.
-
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.
formDataBody :: MonadIO m => [Part] -> Request -> m Requesthttp-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.
formDataBodyWithBoundary :: Applicative m => ByteString -> [PartM m] -> Request -> m Requesthttp-client Network.HTTP.Client.MultipartFormData Add form data with supplied boundary
forConcurrently :: (MonadUnliftIO m, Traversable t) => t a -> (a -> m b) -> m (t b)unliftio UnliftIO.Async Similar to mapConcurrently but with arguments flipped
forConcurrently_ :: (MonadUnliftIO m, Foldable f) => f a -> (a -> m b) -> m ()unliftio UnliftIO.Async Similar to mapConcurrently_ but with arguments flipped
forkFinally :: MonadUnliftIO m => m a -> (Either SomeException a -> m ()) -> m ThreadIdunliftio UnliftIO.Concurrent Unlifted version of forkFinally.
forkIO :: MonadUnliftIO m => m () -> m ThreadIdunliftio UnliftIO.Concurrent Unlifted version of forkIO.