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. unsafeFeedLazyByteString :: ByteString -> ByteString -> Feed1

    radix-tree Data.Radix1Tree.Word8.Key.Unsafe

    Convert a lazy ByteString, in the form of the first chunk plus the rest, into a key. The first chunk is assumed to be non-empty.

  2. unsafeFeedShortByteString :: ShortByteString -> Feed1

    radix-tree Data.Radix1Tree.Word8.Key.Unsafe

    Convert a ShortByteString into a key. The ShortByteString is assumed to be non-empty.

  3. buildByteString :: Build -> ByteString

    radix-tree Data.RadixTree.Word8.Key

    Convert a key into a strict ByteString.

  4. buildShortByteString :: Build -> ShortByteString

    radix-tree Data.RadixTree.Word8.Key

    Convert a key into a ShortByteString.

  5. feedByteString :: ByteString -> Feed

    radix-tree Data.RadixTree.Word8.Key

    Convert a strict ByteString into a key.

  6. feedLazyByteString :: ByteString -> Feed

    radix-tree Data.RadixTree.Word8.Key

    Convert a lazy ByteString into a key.

  7. feedShortByteString :: ShortByteString -> Feed

    radix-tree Data.RadixTree.Word8.Key

    Convert a ShortByteString into a key.

  8. chunksToByteStrings :: (Chunk -> [ByteString] -> [ByteString]) -> [Chunk] -> [ByteString]

    rainbow Rainbow

    Convert a list of Chunk to a list of ByteString. The length of the returned list may be longer than the length of the input list. So, for example, to print a bunch of chunks to standard output using 256 colors:

    module PrintMyChunks where
    
    import qualified Data.ByteString as BS
    import Rainbow
    
    myChunks :: [Chunk String]
    myChunks = [ chunk "Roses" & fore red, chunk "\n",
    chunk "Violets" & fore blue, chunk "\n" ]
    
    myPrintedChunks :: IO ()
    myPrintedChunks = mapM_ BS.putStr
    . chunksToByteStrings toByteStringsColors256
    $ myChunks
    
    To use the highest number of colors that this terminal supports:
    myPrintedChunks' :: IO ()
    myPrintedChunks' = do
    printer <- byteStringMakerFromEnvironment
    mapM_ BS.putStr
    . chunksToByteStrings printer
    $ myChunks
    

  9. toByteStringsColors0 :: Chunk -> [ByteString] -> [ByteString]

    rainbow Rainbow

    No documentation available.

  10. toByteStringsColors256 :: Chunk -> [ByteString] -> [ByteString]

    rainbow Rainbow

    No documentation available.

Page 98 of many | Previous | Next