Hoogle Search

Within LTS Haskell 24.41 (ghc-9.10.3)

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

  1. asciiDtostr :: (HasCallStack, MonadIO m) => Text -> Int32 -> Double -> m Text

    gi-glib GI.GLib.Functions

    Converts a gdouble to a string, using the '.' as decimal point. This function generates enough precision that converting the string back using asciiStrtod gives the same machine-number (on machines with IEEE compatible 64bit doubles). It is guaranteed that the size of the resulting string will never be larger than [constgLib.ASCII_DTOSTR_BUF_SIZE] bytes, including the terminating nul character, which is always added.

  2. datalistIdGetData :: (HasCallStack, MonadIO m) => Data -> Word32 -> m (Ptr ())

    gi-glib GI.GLib.Functions

    Retrieves the data element corresponding to keyId.

  3. datalistIdRemoveMultiple :: (HasCallStack, MonadIO m) => Data -> [Word32] -> m ()

    gi-glib GI.GLib.Functions

    Removes multiple keys from a datalist. This is more efficient than calling g_datalist_id_remove_data() multiple times in a row. Before 2.80, nKeys had to be not larger than 16. Now it can be larger, but note that GData does a linear search, so an excessive number of keys will perform badly. Since: 2.74

  4. datasetIdGetData :: (HasCallStack, MonadIO m) => Ptr () -> Word32 -> m (Ptr ())

    gi-glib GI.GLib.Functions

    Gets the data element corresponding to a GQuark.

  5. spawnClosePid :: (HasCallStack, MonadIO m) => Int32 -> m ()

    gi-glib GI.GLib.Functions

    On some platforms, notably Windows, the GPid type represents a resource which must be closed to prevent resource leaking. spawnClosePid is provided for this purpose. It should be used on all platforms, even though it doesn't do anything under UNIX.

  6. unicharIswide :: (HasCallStack, MonadIO m) => Char -> m Bool

    gi-glib GI.GLib.Functions

    Determines if a character is typically rendered in a double-width cell.

  7. unicharIswideCjk :: (HasCallStack, MonadIO m) => Char -> m Bool

    gi-glib GI.GLib.Functions

    Determines if a character is typically rendered in a double-width cell under legacy East Asian locales. If a character is wide according to unicharIswide, then it is also reported wide with this function, but the converse is not necessarily true. See the Unicode Standard Annex #11 for details. If a character passes the unicharIswide test then it will also pass this test, but not the other way around. Note that some characters may pass both this test and unicharIszerowidth. Since: 2.12

  8. unicharIszerowidth :: (HasCallStack, MonadIO m) => Char -> m Bool

    gi-glib GI.GLib.Functions

    Determines if a given character typically takes zero width when rendered. The return value is True for all non-spacing and enclosing marks (e.g., combining accents), format characters, zero-width space, but not U+00AD SOFT HYPHEN. A typical use of this function is with one of unicharIswide or unicharIswideCjk to determine the number of cells a string occupies when displayed on a grid display (terminals). However, note that not all terminals support zero-width rendering of zero-width marks. Since: 2.14

  9. unicharValidate :: (HasCallStack, MonadIO m) => Char -> m Bool

    gi-glib GI.GLib.Functions

    Checks whether ch is a valid Unicode character. Some possible integer values of ch will not be valid. 0 is considered a valid character, though it's normally a string terminator.

  10. utf8GetCharValidated :: (HasCallStack, MonadIO m) => Text -> Int64 -> m Char

    gi-glib GI.GLib.Functions

    Convert a sequence of bytes encoded as UTF-8 to a Unicode character. This function checks for incomplete characters, for invalid characters such as characters that are out of the range of Unicode, and for overlong encodings of valid characters. Note that utf8GetCharValidated returns (gunichar)-2 if maxLen is positive and any of the bytes in the first UTF-8 character sequence are nul.

Page 642 of many | Previous | Next