Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
gi-glib GI.GLib.Enums The hashing algorithm to be used by Checksum when performing the digest of some data. Note that the ChecksumType enumeration may be extended at a later date to include new hashing algorithm types. Since: 2.16
ChecksumTypeMd5 :: ChecksumTypegi-glib GI.GLib.Enums Use the MD5 hashing algorithm
ChecksumTypeSha1 :: ChecksumTypegi-glib GI.GLib.Enums Use the SHA-1 hashing algorithm
ChecksumTypeSha256 :: ChecksumTypegi-glib GI.GLib.Enums Use the SHA-256 hashing algorithm
ChecksumTypeSha384 :: ChecksumTypegi-glib GI.GLib.Enums Use the SHA-384 hashing algorithm (Since: 2.51)
ChecksumTypeSha512 :: ChecksumTypegi-glib GI.GLib.Enums Use the SHA-512 hashing algorithm (Since: 2.36)
computeChecksumForBytes :: (HasCallStack, MonadIO m) => ChecksumType -> Bytes -> m (Maybe Text)gi-glib GI.GLib.Functions Computes the checksum for a binary data. This is a convenience wrapper for checksumNew, checksumGetString and checksumFree. The hexadecimal string returned will be in lower case. Since: 2.34
computeChecksumForData :: (HasCallStack, MonadIO m) => ChecksumType -> ByteString -> m (Maybe Text)gi-glib GI.GLib.Functions Computes the checksum for a binary data of length. This is a convenience wrapper for checksumNew, checksumGetString and checksumFree. The hexadecimal string returned will be in lower case. Since: 2.16
-
gi-glib GI.GLib.Functions Computes the checksum of a string. The hexadecimal string returned will be in lower case. Since: 2.16
testSummary :: (HasCallStack, MonadIO m) => Text -> m ()gi-glib GI.GLib.Functions Set the summary for a test, which describes what the test checks, and how it goes about checking it. This may be included in test report output, and is useful documentation for anyone reading the source code or modifying a test in future. It must be a single line. This should be called at the top of a test function. For example:
C code
static void test_array_sort (void) { g_test_summary ("Test my_array_sort() sorts the array correctly and stably, " "including testing zero length and one-element arrays."); … }Since: 2.62