Hoogle Search

Within LTS Haskell 24.43 (ghc-9.10.3)

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

  1. package bytestring-trie

    An efficient finite map from bytestrings to values. An efficient finite map from bytestrings to values. The implementation is based on big-endian patricia trees, like Data.IntMap. We first trie on the elements of Data.ByteString and then trie on the big-endian bit representation of those elements. Patricia trees have efficient algorithms for union and other merging operations, but they're also quick for lookups and insertions. If you are only interested in being able to associate strings to values, then you may prefer the hashmap package which is faster for those only needing a map-like structure. This package is intended for those who need the extra capabilities that a trie-like structure can offer (e.g., structure sharing to reduce memory costs for highly redundant keys, taking the submap of all keys with a given prefix, contextual mapping, extracting the minimum and maximum keys, etc.)

  2. byteStringToFilePath :: ByteString -> FilePath

    cabal-install Distribution.Client.Utils

    Reverse operation to filePathToByteString.

  3. bytestringBody :: ByteString -> OutputStream Builder -> IO ()

    http-io-streams Network.Http.Client

    Convenience function for sending a strict ByteString as the body of the request.

    sendRequest c q (bytestringBody "PING")
    

  4. byteString8 :: Format r (ByteString -> r)

    influxdb Database.InfluxDB.Format

    Format a UTF-8 encoded byte string. Note that this doesn't escape the string. Use formatKey to format field values in a query.

    >>> :t F.formatKey F.byteString8
    F.formatKey F.byteString8 :: B.ByteString -> Key
    

  5. byteStringHttpIri :: Prism' ByteString HttpIri

    iri Iri.Optics

    No documentation available.

  6. byteStringIri :: Prism' ByteString Iri

    iri Iri.Optics

    No documentation available.

  7. byteStringTextInUtf8 :: Prism' ByteString Text

    iri Iri.Optics

    No documentation available.

  8. byteStringMakerFromEnvironment :: IO (Chunk -> [ByteString] -> [ByteString])

    rainbow Rainbow

    Uses setupTermFromEnv to obtain the terminal's color capability. If this says there are at least 256 colors are available, returns toByteStringsColors256. Otherwise, if there are at least 8 colors available, returns toByteStringsColors8. Otherwise, returns toByteStringsColors0. If the terminfo database could not be read (that is, if SetupTermError is returned), then return toByteStringsColors0.

  9. byteStringMakerFromHandle :: Handle -> IO (Chunk -> [ByteString] -> [ByteString])

    rainbow Rainbow

    Like byteStringMakerFromEnvironment but also consults a provided Handle. If the Handle is not a terminal, toByteStringsColors0 is returned. Otherwise, the value of byteStringMakerFromEnvironment is returned.

  10. byteStringMakerFromEnvironment :: IO (Chunk -> [ByteString] -> [ByteString])

    rainbow Rainbow.Translate

    Uses setupTermFromEnv to obtain the terminal's color capability. If this says there are at least 256 colors are available, returns toByteStringsColors256. Otherwise, if there are at least 8 colors available, returns toByteStringsColors8. Otherwise, returns toByteStringsColors0. If the terminfo database could not be read (that is, if SetupTermError is returned), then return toByteStringsColors0.

Page 25 of many | Previous | Next