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.
genShortByteString :: RandomGen g => Int -> g -> (ShortByteString, g)Yampa FRP.Yampa genShortByteString n g returns a ShortByteString of length n filled with pseudo-random bytes.
genShortByteString :: RandomGen g => Int -> g -> (ShortByteString, g)Yampa FRP.Yampa.Random genShortByteString n g returns a ShortByteString of length n filled with pseudo-random bytes.
module Text.Appar.
LazyByteString Simple Applicative parser whose input is lazy ByteString. The usage is the same as parsec. Parsec 3 provides features which Parsec 2 does not provide:
- Applicative style
- ByteString as input
package
base64-bytestring-type A newtype around ByteString, for base64 encoding A newtype around ByteString, for base64 encoding. Strict and lazy, normal and url alphabet variants.
getByteString64 :: ByteString64 -> ByteStringbase64-bytestring-type Data.ByteString.Base64.Lazy.Type Unwrap ByteString from ByteString64. Essentially coerce.
getEncodedByteString64 :: ByteString64 -> ByteStringbase64-bytestring-type Data.ByteString.Base64.Lazy.Type Get base64 encode bytestring
>>> getEncodedByteString64 "foobar" "Zm9vYmFy"
>>> getEncodedByteString64 "aa\191" "YWG/"
makeByteString64 :: ByteString -> ByteString64base64-bytestring-type Data.ByteString.Base64.Lazy.Type Wrap ByteString into ByteString64. Essentially coerce.
getByteString64 :: ByteString64 -> ByteStringbase64-bytestring-type Data.ByteString.Base64.Type Unwrap ByteString from ByteString64. Essentially coerce.
getEncodedByteString64 :: ByteString64 -> ByteStringbase64-bytestring-type Data.ByteString.Base64.Type Get base64 encode bytestring
>>> getEncodedByteString64 "foobar" "Zm9vYmFy"
>>> getEncodedByteString64 "aa\191" "YWG/"
makeByteString64 :: ByteString -> ByteString64base64-bytestring-type Data.ByteString.Base64.Type Wrap ByteString into ByteString64. Essentially coerce. Wrap ByteString into ByteString64. Essentially coerce.