Hoogle Search

Within LTS Haskell 24.52 (ghc-9.10.3)

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

  1. SpawnErrorRead :: SpawnError

    gi-glib GI.GLib.Enums

    Read or select on pipes failed.

  2. data ThreadError

    gi-glib GI.GLib.Enums

    Possible errors of thread related functions.

  3. ThreadErrorThreadErrorAgain :: ThreadError

    gi-glib GI.GLib.Enums

    a thread couldn't be created due to resource shortage. Try again later.

  4. UnixPipeEndRead :: UnixPipeEnd

    gi-glib GI.GLib.Enums

    The readable file descriptor 0

  5. catchThreadError :: IO a -> (ThreadError -> GErrorMessage -> IO a) -> IO a

    gi-glib GI.GLib.Enums

    Catch exceptions of type ThreadError. This is a specialized version of catchGErrorJustDomain.

  6. handleThreadError :: (ThreadError -> GErrorMessage -> IO a) -> IO a -> IO a

    gi-glib GI.GLib.Enums

    Handle exceptions of type ThreadError. This is a specialized version of handleGErrorJustDomain.

  7. IOFlagsIsReadable :: IOFlags

    gi-glib GI.GLib.Flags

    indicates that the io channel is readable. This flag cannot be changed.

  8. fileReadLink :: (HasCallStack, MonadIO m) => [Char] -> m [Char]

    gi-glib GI.GLib.Functions

    Reads the contents of the symbolic link filename like the POSIX readlink() function. The returned string is in the encoding used for filenames. Use filenameToUtf8 to convert it to UTF-8. The returned string may also be a relative path. Use g_build_filename() to convert it to an absolute path:

    C code

    g_autoptr(GError) local_error = NULL;
    g_autofree gchar *link_target = g_file_read_link ("/etc/localtime", &local_error);
    
    if (local_error != NULL)
    g_error ("Error reading link: %s", local_error->message);
    
    if (!g_path_is_absolute (link_target))
    {
    g_autofree gchar *absolute_link_target = g_build_filename ("/etc", link_target, NULL);
    g_free (link_target);
    link_target = g_steal_pointer (&absolute_link_target);
    }
    
    Since: 2.4

  9. dirReadName :: (HasCallStack, MonadIO m) => Dir -> m [Char]

    gi-glib GI.GLib.Structs.Dir

    Retrieves the name of another entry in the directory, or Nothing. The order of entries returned from this function is not defined, and may vary by file system or other operating-system dependent factors. Nothing may also be returned in case of errors. On Unix, you can check errno to find out if Nothing was returned because of an error. On Unix, the '.' and '..' entries are omitted, and the returned name is in the on-disk encoding. On Windows, as is true of all GLib functions which operate on filenames, the returned name is in UTF-8.

  10. iOChannelRead :: (HasCallStack, MonadIO m) => IOChannel -> Text -> CSize -> CSize -> m IOError

    gi-glib GI.GLib.Structs.IOChannel

    Deprecated: (Since version 2.2)Use iOChannelReadChars instead.

Page 483 of many | Previous | Next