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.
getUserEntryForID :: UserID -> IO UserEntryunix System.Posix.User getUserEntryForID uid calls getpwuid_r to obtain the UserEntry information associated with UserID uid. This operation may fail with isDoesNotExistError if no such user exists.
getUserEntryForName :: String -> IO UserEntryunix System.Posix.User getUserEntryForName name calls getpwnam_r to obtain the UserEntry information associated with the user login name. This operation may fail with isDoesNotExistError if no such user exists.
getGroupEntryForID :: GroupID -> IO GroupEntryunix System.Posix.User.ByteString getGroupEntryForID gid calls getgrgid_r to obtain the GroupEntry information associated with GroupID gid. This operation may fail with isDoesNotExistError if no such group exists.
getGroupEntryForName :: ByteString -> IO GroupEntryunix System.Posix.User.ByteString getGroupEntryForName name calls getgrnam_r to obtain the GroupEntry information associated with the group called name. This operation may fail with isDoesNotExistError if no such group exists.
getUserEntryForID :: UserID -> IO UserEntryunix System.Posix.User.ByteString getUserEntryForID uid calls getpwuid_r to obtain the UserEntry information associated with UserID uid. This operation may fail with isDoesNotExistError if no such user exists.
getUserEntryForName :: ByteString -> IO UserEntryunix System.Posix.User.ByteString getUserEntryForName name calls getpwnam_r to obtain the UserEntry information associated with the user login name. This operation may fail with isDoesNotExistError if no such user exists.
peekForever :: forall (m :: Type -> Type) i o . Monad m => ConduitT i o m () -> ConduitT i o m ()conduit Conduit Run a consuming conduit repeatedly, only stopping when there is no more data available from upstream.
-
conduit Conduit Run a consuming conduit repeatedly, only stopping when there is no more data available from upstream. In contrast to peekForever, this function will ignore empty chunks of data. So for example, if a stream of data contains an empty ByteString, it is still treated as empty, and the consuming function is not called.
-
conduit Data.Conduit Wait for input forever, calling the given inner component for each piece of new input. This function is provided as a convenience for the common pattern of awaiting input, checking if it's Just and then looping. Since 0.5.0
peekForever :: forall (m :: Type -> Type) i o . Monad m => ConduitT i o m () -> ConduitT i o m ()conduit Data.Conduit.Combinators Run a consuming conduit repeatedly, only stopping when there is no more data available from upstream.