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.
toByteString :: CabalSpecVersion -> [Field (Position, [Comment p])] -> [Comment p] -> ByteStringcabal-gild CabalGild.Unstable.Action.Render Renders the given fields and comments to a byte string.
toByteString :: Block -> ByteStringcabal-gild CabalGild.Unstable.Type.Block Converts a block into a ByteString by joining the lines together with newline characters. Note that unline unlines, there will be no trailing newline unless lineAfter is True.
fromByteString :: ByteString -> Chunkcabal-gild CabalGild.Unstable.Type.Chunk Converts a byte string into a chunk without blank spaces before or after.
toByteString :: Line -> ByteStringcabal-gild CabalGild.Unstable.Type.Line Converts a line to a ByteString by indenting the chunk.
filePathToByteString :: FilePath -> ByteStringcabal-install Distribution.Client.Utils Convert a FilePath to a lazy ByteString. Each Char is encoded as a little-endian Word32.
sha256FromByteString :: ByteString -> Maybe Sha256cabal-plan Cabal.Plan Import the Sha256 digest from a 32-byte ByteString. Returns Nothing if input ByteString has incorrect length.
sha256ToByteString :: Sha256 -> ByteStringcabal-plan Cabal.Plan Export the Sha256 digest to a 32-byte ByteString.
logByteStringHandle :: forall (m :: Type -> Type) . MonadIO m => Handle -> LogAction m ByteStringco-log Colog.Actions Action that prints ByteString to Handle. This action does not flush the output buffer. If buffering mode is block buffering, the effect of this action can be delayed.
logByteStringStderr :: forall (m :: Type -> Type) . MonadIO m => LogAction m ByteStringco-log Colog.Actions Action that prints ByteString to stderr. This action does not flush the output buffer. If buffering mode is block buffering, the effect of this action can be delayed.
logByteStringStdout :: forall (m :: Type -> Type) . MonadIO m => LogAction m ByteStringco-log Colog.Actions Action that prints ByteString to stdout. This action does not flush the output buffer. If buffering mode is block buffering, the effect of this action can be delayed.