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. toByteStringsColors8 :: Chunk -> [ByteString] -> [ByteString]

    rainbow Rainbow

    No documentation available.

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

    rainbow Rainbow.Translate

    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
    

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

    rainbow Rainbow.Translate

    No documentation available.

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

    rainbow Rainbow.Translate

    No documentation available.

  5. toByteStringsColors8 :: Chunk -> [ByteString] -> [ByteString]

    rainbow Rainbow.Translate

    No documentation available.

  6. fromByteString :: ByteString -> BitString

    rattletrap Rattletrap.BitString

    No documentation available.

  7. toByteString :: BytePut -> ByteString

    rattletrap Rattletrap.BytePut

    No documentation available.

  8. toLazyByteString :: BytePut -> ByteString

    rattletrap Rattletrap.BytePut

    No documentation available.

  9. type StrictByteString = ByteString

    rawfilepath Data.ByteString.RawFilePath

    Type synonym for the strict flavour of ByteString.

  10. decodeByteString :: Typeable a => Decoder a -> ByteString -> Either Text a

    registry-aeson Data.Registry.Aeson.Decoder

    Use a Decoder to decode a ByteString into the desired type

Page 99 of many | Previous | Next